For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > February 2006 > translate unicode chars hexadecimal encoded to iso-8859-1









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author translate unicode chars hexadecimal encoded to iso-8859-1
gonchi

2006-02-02, 7:55 am

Hi,

I'm trying to translate utf8 char encoded into a hexadecimal code, i
don't success with it. I know to translate hexa to ascii with
chr(hex($letter)) , i know to use Encode module to translate utf8 to
iso-8859 but i don't success to translate the hexa code to iso
enconding.
I get by internet post method a XML that it has some letter in utf8.
The problem is that the internet translate them to hexa encoding then i
get something like this %D7%A9 . I need to tranlaste it to something i
can read in the shell or editor.

thanks!
by!

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com