Closed mensi closed 3 years ago
to_string is only available when using ttf-parser with the "std" feature. Without it you currently can't compile.
This change implements the UTF16BE conversion on the raw data and fixes #57.
Any reason we can't use core::str::from_utf8 if the encoding id is 0??
core::str::from_utf8
Added a utf16 decoder in aadbbf9a791658fba67a687f2a315fe2c37f3cd7
to_string is only available when using ttf-parser with the "std" feature. Without it you currently can't compile.
This change implements the UTF16BE conversion on the raw data and fixes #57.