Re: [HACKERS] UTF-8 safe ascii() function - Mailing list pgsql-general

From Patrice Hédé
Subject Re: [HACKERS] UTF-8 safe ascii() function
Date
Msg-id 20020519211442.4d19606e.phede-ml@islande.org
Whole thread Raw
In response to Re: [HACKERS] UTF-8 safe ascii() function  (Jean-Michel POURE <jm.poure@freesurf.fr>)
Responses Re: [HACKERS] UTF-8 safe ascii() function
List pgsql-general
Jean-Michel POURE <jm.poure@freesurf.fr> a écrit :

> I tried a Japanese character :
> SELECT utf8toucs2 ('æ_¯'::text) which returns -1
>
> Do you know why it does not return the UCS-2 value?

Oops, my mistake. I forgot to update a test after a copy-paste. Here is
a new version which should be correct this time ! :)

Patrice

--
Patrice Hédé
email: patrice hede à islande org
www  : http://www.islande.org/

Attachment

pgsql-general by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: [HACKERS] UTF-8 safe ascii() function
Next
From: Joseph Maxwell
Date:
Subject: Digest Mode