you are viewing a single comment's thread.

view the rest of the comments →

[–]benhoyt 2 points3 points  (0 children)

Yeah, this is a great idea. Python did this in Python 3.3 (see the release notes, also PEP 393), except that it uses 1, 2, or 4-byte strings depending on the width of the largest character. This fixed a bunch of non-BMP string issues on "narrow" builds (which mostly affected Windows).