Re:Notch's Specification for the In-Game DCPU-16
by asdfaoeu on Wednesday April 04, 2012 @08:02PM
(#3800566)
UTF-8 still has all the characters UTF-16 does it just uses more bytes to encode them. UTF-8 makes more sense if most of your characters can be represented in 8 bits.
[ Parent
| on HN ]
Re:Notch's Specification for the In-Game DCPU-16
by ealloc on Thursday April 05, 2012 @12:07AM
(#3801259)
you can encode all characters in the basic multilingual plane with a single utf-16 code unit, while in utf-8 BMP characters have variable lengths from 1 to 3 bytes.
If Notch only allows BMP characters and uses utf-16, internationalized string maniulation is very easy, as easy as ASCII for kids to mess with.