2 ms·
>8859-1 defines the first 256 symbols and declares that there shall be no deviation from that. Microsoft then immediately deviates with their Windows 1252 encod
by kakwa_ 9y ago
>8859-1 defines the first 256 symbols and declares that there shall be no deviation from that. Microsoft then immediately deviates with their Windows 1252 encoding.
>Everyone hates Microsoft.
If only it was only that... Microsoft has even worse encoding schemes. The ugliest I encountered was an "encoding" based on glyph indexes in ttf files.
Conversion is a pain in that case, and is uncertain... it also leads me to not so beautiful code...
https://raw.githubusercontent.com/kakwa/libemf2svg/master/inc/font_mapping.c https://raw.githubusercontent.com/kakwa/libemf2svg/master/in...
Even between Microsoft products (namely Office on Mac and Office on Windows), this scheme is not handled properly (the string is incorrectly handled as an UTF-16LE string on Office on Mac).