Link to home
Start Free TrialLog in
Avatar of mark222
mark222

asked on

convert UTF8 to readable string

i have a filed in table with utf8 code data ex:(0068 0065 006C 006C 006F...)
i want to convert  it and show it in readable string ex:(hello).
regards
ASKER CERTIFIED SOLUTION
Avatar of snoyes_jw
snoyes_jw
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of psycle
psycle

it depends on where you want to see it.  If it's in putty, for example, you have to set your terminal to UTF8.  Same thing for the console of the server, e.g. export LANG=en_US.UTF-8.  If it's website you have to set the charset to UTF8, which can be done in the content-type header, e.g. Content-Type: text/html; charset=utf-8