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

Problems with Baltic characters

3 views
Skip to first unread message

kaunietiz

unread,
Jan 22, 2005, 5:46:40 PM1/22/05
to
Im getting data from access database with Baltic characters in it. When i try
to output the query in cold fusion file it does not show Baltic characters. Its
shows all ???? and so on. When i just write text in cold fusion file everything
is ok. But when trying to show data from database it does not display
correctly. I tried displaying same data with php on apache and everyting is ok.
So is there a problem with my database or with coldfusion parsing the data.
Please help me to find out.

PaulH

unread,
Jan 22, 2005, 11:56:05 PM1/22/05
to
in your application.cfm
<cfset setEncoding("url","yourEncoding")>
<cfset setEncoding("form","yourEncoding")>
<cfcontent type="text/html; charset=yourEncoding">

at the top of your cf pages add:
<cfprocessingdirective pageEncoding="yourEncoding">

in the advanced option, connection string, for that DSN add:
useUnicode=true&characterEncoding=yourEncoding

where "yourEncoding" is the encoding used to enter the text data into your
mySQL database.


0 new messages