Re: [GENERAL] URL Decoding

2006-11-23 Thread Tino Wildenhain
Arnaud Lesauvage schrieb: Tino Wildenhain a écrit : Arnaud Lesauvage schrieb: 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 re

Re: [GENERAL] URL Decoding

2006-11-23 Thread Arnaud Lesauvage
Tino Wildenhain a écrit : Arnaud Lesauvage schrieb: 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 characte

Re: [GENERAL] URL Decoding

2006-11-22 Thread Tino Wildenhain
Arnaud Lesauvage schrieb: 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

[GENERAL] URL Decoding

2006-11-22 Thread Arnaud Lesauvage
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 w