Le Dimanche 19 Mai 2002 11:44, Patrice Hédé a écrit :
> The function is taking the first character of a TEXT element, and
> returns its UCS2 value. I just did some basic test (i.e. I have not
> tried with 3 or 4 bytes UTF-8 chars). The function is following the
> Unicode 3.2 spec.
Hi Patrice,
I tried a Japanese character :
SELECT utf8toucs2 ('æ¯'::text) which returns -1
Do you know why it does not return the UCS-2 value?
Cheers,
Jean-Michel POURE