merari42@lemmy.world to Programmer Humor@programming.dev · 18 days agoThe devil said, “Take this glyph-laden grimoire and try to render it cross-platform.”lemmy.worldimagemessage-square38fedilinkarrow-up131arrow-down11
arrow-up130arrow-down1imageThe devil said, “Take this glyph-laden grimoire and try to render it cross-platform.”lemmy.worldmerari42@lemmy.world to Programmer Humor@programming.dev · 18 days agomessage-square38fedilink
minus-squaredarksiderbun@lemmy.calinkfedilinkEnglisharrow-up1·18 days agoIt’s also UTF-8 with BOM. It’s also windows western 1252. Dont get me started on international date time formatting and time assumptions :( I wish it was just UTF-8
minus-squareqqq@lemmy.worldlinkfedilinkarrow-up1·16 days agoTIL I didn’t realize Java used UTF16 for its internal representation. Looks like it’s a bit more complicated than that after Java 9 too
It’s just UTF-8
It’s also UTF-8 with BOM. It’s also windows western 1252. Dont get me started on international date time formatting and time assumptions :(
I wish it was just UTF-8
Android defaults to UTF16
All because of java
TIL I didn’t realize Java used UTF16 for its internal representation. Looks like it’s a bit more complicated than that after Java 9 too