(code_page: u32)
| 760 | } |
| 761 | |
| 762 | fn code_page_encoding_name(code_page: u32) -> String { |
| 763 | match code_page { |
| 764 | 0 => "mbcs".to_string(), |
| 765 | cp => format!("cp{cp}"), |
| 766 | } |
| 767 | } |
| 768 | |
| 769 | /// Get WideCharToMultiByte flags for encoding. |
| 770 | /// Matches encode_code_page_flags() in CPython. |
no test coverage detected