Martijn van Oosterhout <> writes:
>> AFAICT, most of the useful operations work on UChar, which is uint16:
> 5324ef288165e2ac

> Oh, you're confusing UCS-2 with UTF-16,

Ah, you're right, I did misunderstand that.  However, it's still
apparently the case that ICU works mostly with UTF16 and handles other
encodings only via conversion to UTF16.  That's a pretty serious
mismatch with our needs --- we'll end up converting to UTF16 all the
time.  We're certainly not going to change to using UTF16 as the actual
native string representation inside the backend, both because of the
space penalty and incompatibility with tools like bison.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to