UTF-8 safe ascii() function

Поиск
Список
Период
Сортировка
От Jean-Michel POURE
Тема UTF-8 safe ascii() function
Дата
Msg-id 200205181853.19420.jm.poure@freesurf.fr
обсуждение исходный текст
Список pgsql-odbc
Dear all,

I would like to transform UTF-8 strings into Java-Unicode. Example :
- Latin1 : 'é'
- UTF-8 : 'é'
- Java Unicode = '\u00233'

Basically, a Unicode compatible ascii() function would be fine.
ascii('é') should return 233.

1) Has anyone written an ascii UTF-8 safe wrapper to ascii() function? If yes,
would you be so kind to publish this function on the list.

2) Are there plans to add an ascii() UTF-8 safe function to PostrgeSQL?

Best regards,
Jean-Michel POURE

В списке pgsql-odbc по дате отправления:

Предыдущее
От: "Francisco Jr."
Дата:
Сообщение: [ANN] Npgsql version 0.1 Released!
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: int8 defined as text in MS Access?