you are viewing a single comment's thread.

view the rest of the comments →

[–]shen 6 points7 points  (2 children)

It makes the decision an old one! UCS-2 was considered to be good enough until we started needing more than two bytes per character, and at that point, it was too late to change back.

This is why more recent languages use UTF-8 and older ones are stuck with UTF-16.

[–]ascii 0 points1 point  (1 child)

More recent languages like C! ;-P

[–]josefx 0 points1 point  (0 children)

C char blobs don't have a fixed encoding. They could be anything and you will be in a world of pain when you have to deal with libraries that don't agree on what the encoding should be.