I have a mysql database set up with the Character Set as utf8 and the Collection set as utf8_general_ci.
I can see the Russian text in the database is all fine.
I have added a <cfprocessingdirective pageEncoding="utf-8">
in the coldfusion pages. If I type in russian text directly in the cfm page, it displays fine in the browser.
However, If I us a cfquery to pull in the data to display it in the browser, it displays incorrectly i.e. ЎБÐ.
my cfquery is a very simple...
<cfquery name="getStatic" datasource="#session.odbcname#">
SELECT *
FROM static_id
WHERE static_displayname = 'home'
AND static_status = 'online'
</cfquery>
and then use a cfoutput to display the data #getStatic.data#
.
any ideas on how to get the data pulled in to display correctly?
Thanks