Jeff Chastain wrote:

> I have an encoded text string that I am needing to decode.  The string is in
> the format ...
>  
>  http%u003A%u002F%u002Fwww%u002Egoogle%u002Ecom
>  
> .... which I am being told is called Quad Character Unicode.  I have played
> with all of the different character sets in CFMX and I cannot get this
> string to decode properly.  Does anybody have any suggestions?

It is just hex with a weird delimiter (% instead of /). The quick
and dirty fix is to use:
URLDecode(REReplaceNoCase(string,"%(u00)[0-7][0-9a-z]","","ALL"))

If the string has characters that are not in 7-bit ASCII this
will fail and you will have to do a proper conversion.

Jochem
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to