Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hebrew translates to "????"

Status
Not open for further replies.

hpvic03

Technical User
Aug 2, 2006
89
I've got a web app that runs on MySQL and CF. The hebrew displays correctly in phpMyAdmin, but when outputted by a simple query, it displays as "???? ?? ??".

The character set is UTF-8 Any ideas?

 
That helped a lot. But it's still not working.

So I've figured out that the web page IS encoded in UTF-8 correctly with GetEncoding('url') and the characters still show up fine in phpMyAdmin.

The only time characters show up strangely is when called by cfquery. If I just type them in the cfm page itself, they show up fine. But my database is set to utf-8. Any more ideas?
 
Coldfusion gives me an error when I specify ISO 8859-9 with cfprocessingdirective. However, I have tried ISO 8859-1 and that is accepted by cf, but doesn't show the letters correctly.

Is there some way to specify in cfquery which encoding you want? Or is there something you set in a database which sets what character set the connection is made in?
 
Yes there is some set up involved in MySQL. Try googling "my.cnf file" for set up instructions. I haven't worked with MySql for a couple of years but I think that will get you started. But anyway - you'll need to look in the MySql docs.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top