pub fn write_str_by_code_page<T: Write + ?Sized>( w: &mut T, data: &str, text_encoding: &StringCodecMaps, code_page: u32, ) -> Result<()>