URL Decoding

Поиск
Список
Период
Сортировка
От Arnaud Lesauvage
Тема URL Decoding
Дата
Msg-id 45645275.5020900@freesurf.fr
обсуждение исходный текст
Ответы Re: URL Decoding
Список pgsql-general
Hi List !

I am looking for an easy URL decoding function.
I thought about using regexp_replace, but I cna't get it to
work :

SELECT regexp_replace('foo%B5bar', '%(..)', '\x\\1' , 'g');
 > 'fooxB5bar'

I wanted to replace %BE with the character \xB5 (µ, I
think), but of course I am doing this wrong...
Is there a simple way t odo this ?

Thanks a lot !

--
Arnaud

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