Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

problams with utf-8 (hebrew)

3 views
Skip to first unread message

SilverStrike

unread,
Mar 1, 2005, 3:56:07 PM3/1/05
to
I am using coldfusion 6.1 and MySQL database.

my databse is set to utf-8 encoding, and so is my cfm page. I can show either
results from my database in hebrew, or html markup in hebrew. I set the
encoding:

<cfheader name="content-type" value="#CGI.CONTENT_TYPE#">

And then I get hebrew from my database. If I add:

<cfcontent type="text/html; charset=utf-8">

I get hebrew in my html markup but not from my database.

What am I doing wrong?

Thank you,

PaulH

unread,
Mar 2, 2005, 2:30:09 AM3/2/05
to
and did you include it's connection string?

useUnicode=true&characterEncoding=utf8.

btw what version of mysql?

SilverStrike

unread,
Mar 2, 2005, 2:59:59 AM3/2/05
to
Thank you very much.
That indeed was the problam.

I guess it was supposed to be pretty obvious, but I am new to server-side programming.

Many thanks again.

PaulH

unread,
Mar 2, 2005, 6:50:03 AM3/2/05
to
if you're using or going to use the very latest mysql then you should probably
read
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_19
170&extid=tn_19170&dialogID=3935786&iterationID=1&sessionID=4830f01ce3b9$3FF$3F$
&stateID=0%200%203939252&mode=advanced.


0 new messages