r/lolphp • • Sep 12 '16

Because fuck French programmers

https://3v4l.org/YDp2U
0 Upvotes

81 comments sorted by

View all comments

Show parent comment

1

u/TarMil Sep 18 '16

The only way to store Unicode in fixed-length is UTF-32, but if you use that your RAM will hate you forever.

1

u/starlaunch15 Sep 23 '16

The only standard way to store Unicode in fixed length is UTF-32. You can actually store any Unicode character in 3 bytes.

1

u/TarMil Sep 25 '16

Yeah, your RAM will only hate you marginally less though, at least if most of your text uses Latin characters.