Ask a Question related to Coldfusion Database Access, Design and Development.
-
SilverStrike #1
Unicode Problem in MySQL database
I am using an MySQL database with utf-8 character set. When I check the data
through phpMyAdmin, the data looks fine (I am using hebrew chars). but when I
try quering for the data from a coldfusion page, I get chars that looks more
like thai.
I am using <cfprocessingdirective pageencoding="UTF-8"> in every page of the
application.
And
<cfset setEncoding("URL", "UTF-8")>
<cfset setEncoding("FORM", "UTF-8")>
<cfcontent type="text/html; charset=UTF-8">
In the Application.cfm file.
I even tried using connection string in the DSN configuration. But it didn't
work Any advice, reference to an online resorce or guidance in the right
direction will be very helpful.
Many thanks in advanced,
Silver Strike
SilverStrike Guest
-
MySQL 5.0, FULL-TEXT Indexing and Search Arabic Data, Unicode
Hello All, This post is essentially a reply a previous post/thread here on this mailing.database.myodbc group titled: MySQL 4.0, FULL-TEXT... -
Access database with Unicode support
I'm trying to verify Access 2000 databases on a CF MX 6.1 Windows installation. I can verify the databases normally, but when I turn on Unicode... -
MySql database connection problem
Hi Everyone, I've just installed ColdFusion MX 6.1 on Red Hat (it's also runing Plesk to manage all my domains. I don't konw if that throws a... -
Unicode Data and Database
Dear Friends, I have a database which contains records in Unicode format. I access my this database (which is MS Access database) in ASP by using... -
Is there a way to work with Unicode database (IBM DB27.2) using ODBC socket data source?
Is there a way to work with Unicode database (IBM DB2 7.2) using ODBC socket data source? Standard ODBC services shipped with ColdFusion MX 7.0... -
-
SilverStrike #3
Re: Unicode Problem in MySQL database
I am using MySQL ver. 4.0.18.
I am waiting for a response from the support team regarding the DB driver info
thanks again
SilverStrike Guest
-
Neculai Macarie #4
Re: Unicode Problem in MySQL database
> I am using MySQL ver. 4.0.18.
info> I am waiting for a response from the support team regarding the DB driver
As far as I know you'll need MySQL 4.1.x or 5.0.x if you want Unicode
support.
--
<mack />
Neculai Macarie Guest
-
SilverStrike #5
Re: Unicode Problem in MySQL database
This is what the MySQL documantations says....
The thing is, that when I view the data with phpMyAdmin, the data looks fine.
So where does the problem comes from? does Coldfusion has a difficulty in
retrieving the data from that version?
Thanks again,
SilverStrike Guest
-
PaulH #6
Re: Unicode Problem in MySQL database
you can often put in any sort of slop via a db's interface like that. that
doesn't mean its correctly encoded data, it just means the db's interface works
like that. upgrade the db or don't use unicode. and make sure you're using the
JDBC driver, and have applied that unicode option for that mysql DSN.
PaulH Guest
-
SilverStrike #7
Re: Unicode Problem in MySQL database
OK, thanks alot for the answers...
I understand that the solution isn't from the CFML side but from the MySQL side.
:)
SilverStrike Guest



Reply With Quote

