Try adding "useUnicode=true&characterEncoding=UTF8" to the connection
string field on the datasource's advanced settings page.  I don't know
if CF5 has such a thing though, so you might not be able to.

cheers,
barneyb

On Wed, 18 Aug 2004 16:37:46 -0400, dan martin <[EMAIL PROTECTED]> wrote:
> Anyone know the trick to get utf-8 data stored in a database to display properly in cf-5?
>
> I can display text in kanji and all the other languages fine, and can store them properly in the mysql database. When I display the data from the database in cf, they are displayed as squares.
>
> I have seen posts suggest this:
>
> <cfprocessingdirective pageencoding="utf-8">
> <cfcontent type="text/html; charset=utf-8">
> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
>
> The first line is not apparently supported in cf-5. Lines 2-3 work for displaying text, but not for the data from a query.
>
> The data from the query does display properly in php, so the database is ok.
>
> I thought cf5 worked with unicode. Is it an ODBC issue? Any ideas?
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to