Fixing Cyrillic Character issue in coldfusion

For fixing cyrillic character issues, we can use the ways given below:

way 1: 

Keep <cfprocessingdirective pageencoding = "utf-8"> line so that issue will get resolved.

For example,

<cfcomponent displayname="testCyrillic" hint="Replace special characters">
<!---To Fix Cyrillic character issue : starts--->
<cfprocessingdirective pageencoding = "utf-8">

Way 2: 

Create jdbc datasource and add use Unicode=yes&charactorEncoding=UTF-8 with JDBC URL.

Driver class as usual: com.mysql.jdbc.Driver

For example,

jdbc:mysql://localhost:3306/mySite?useUnicode=yes&charactorEncoding=UTF-8



Comments

Popular posts from this blog

how to add new line in google form questions | Fix for next line issue in google form questions

How to add new line in dropdown type question in google forms