Solved

convert UTF8 to readable string

Posted on 2009-07-02
2
540 Views
Last Modified: 2012-05-07
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
0
Comment
Question by:mark222
2 Comments
 
LVL 33

Accepted Solution

by:
snoyes_jw earned 500 total points
ID: 24763844
0
 
LVL 3

Expert Comment

by:psycle
ID: 24768099
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
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mysql disables rename 4 93
reverse engineer .sql from php files 11 34
Generate Unique ID in VB.NET 21 60
issue with DB import 1 17
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

861 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question