TeraTech

The ColdFusion Experts: Develop | Secure | Optimize

  • Services
  • About
  • CF Alive
  • Blog
  • Podcast
  • Contact

  • Services
  • About
  • CF Alive
  • Blog
  • Podcast
  • Contact

Simple Unicode Tips

December 21, 2006 By Michaela Light Leave a Comment

Here are some simple tips that would be helpful while working with Unicode data.

– While registering Microsoft SQL Server Database, please be sure to check “Enable Unicode for data sources configured for non-Latin characters” setting in ColdFusion DSN settings.

MS SQL Server Un'code setting in CF Admin

– If you are using MS SQL Server, use “nvarchar”, “nchar” etc. for text fields.

– If you are using MySQL, use “utf8” as main encoding for tables.


CREATE TABLE unicode_stuff (
...
) CHARACTER SET utf8;

– Use “cfqueryparam” in SQL queries.

SELECT FirstName,
LastName
FROM employees
WHERE LastName =

 

– Use a Unicode capable editor such as Dreamweaver or Eclipse. Do not use Homesite or CFStudio for projects that we need Unicode support.

Adobe TechNote: Unicode issues in HomeSite/HomeSite+ 5.5

http://www.adobe.com/go/tn_19059

– Save your files in “Unicode” and BOM (Byte Order Mark) enabled. This is possible in any text editor such as Notepad or in Dreamweaver. BOM is important for Unicode text that we have direct as static content in our files.

DW Unicode Page

– Use meta tag to have Unicode support.

 

– Try to use standard coding such as XHTML.

…

Related Posts

  • Coldfusion Docker Containers Roadshow Webinar With Mark Drew (Ortus Roadshow 1 Of 5)ColdFusion Docker Containers Roadshow Webinar with Mark Drew (Ortus Roadshow 1 of 5)
  • 001 Amazing Adventures With Cf Websockets With Giancarlo Gomez – Transcript001 Amazing Adventures with CF WebSockets with Giancarlo Gomez – Transcript
  • 057 Into The Cloud With Fusionreactor (Coldfusion Application Performance Monitor) With David Tattersall – Transcript057 Into the CLOUD with FusionReactor (ColdFusion Application Performance Monitor) with David Tattersall – Transcript
  • 091 Vue.js Fusionreactor And Therapy, With Raymond Camden- Transcript091 Vue.JS FusionReactor and Therapy, with Raymond Camden- Transcript
  • Cfunited – High Availability And Clustering Presentation – Hands On DetailsCFUnited – High Availability and Clustering Presentation – Hands On Details
  • Comprehensive Coldfusion Learning And Training List (Learn Cfml Fast)Comprehensive ColdFusion Learning and Training List (Learn CFML Fast)
  • Facebook
  • Twitter
  • LinkedIn

Filed Under: ColdFusion Developer

← Previous Post Scorpio on the Rise!
Next Post → ColdFusion captcha

Popular podcast episodes

  • Revealing ColdFusion 2021 – Rakshith Naresh
  • CF and Angular – Nolan Erck
  • Migrating legacy CFML – Nolan Erck
  • Adobe API manager – Brian Sappey
  • Improve your CFML code – Kai Koenig

CF Alive Best Practices Checklist

Modern ColdFusion development best practices that reduce stress, inefficiency, project lifecycle costs while simultaneously increasing project velocity and innovation.

Get your checklist

Top articles

  • CF Hosting (independent guide)
  • What is Adobe ColdFusion
  • Is Lucee CFML now better than ACF?
  • Is CF dead?
  • Learn CF (comprehensive list of resources)

Recent Posts

  • Adobe CF Summit 2022 Conference (In-person, again)
  • Adobe Coldfusion Certification Program
  • 18 Amazing JQuery tips (that will supercharge Web 2.0 apps)
  • New Adobe CF Builder (VS Code extension) beta release
  • Into The Box 2022 (ColdFusion Development Conference)

Categories

  • Adobe ColdFusion 11 and older
  • Adobe ColdFusion 2018
  • Adobe ColdFusion 2020 Beta
  • Adobe ColdFusion 2021
  • Adobe ColdFusion Developer week
  • Adobe ColdFusion Project Stratus
  • Adobe ColdFusion Summit
  • AWS
  • CF Alive
  • CF Alive Podcast
  • CF Camp
  • CF Tags
  • CF Vs. Other Languages
  • CFEclipse
  • CFML
  • CFML Open- Source
  • CFUnited
  • ColdBox
  • ColdFusion and other news
  • ColdFusion Community
  • ColdFusion Conference
  • ColdFusion Consulting
  • ColdFusion Developer
  • ColdFusion Development
  • ColdFusion Hosting
  • ColdFusion Maintenance
  • ColdFusion Performance Tuning
  • ColdFusion Projects
  • ColdFusion Roadmap
  • ColdFusion Security
  • ColdFusion Training
  • CommandBox
  • Docker
  • Fixinator
  • Frameworks
  • Fusebox
  • FusionReactor
  • IntoTheBox Conference
  • Java
  • JavaScript
  • JVM
  • Learn CFML
  • Learn ColdFusion
  • Legacy Code
  • Load Testing
  • Lucee
  • Mindmapping
  • MockBox
  • Modernize ColdFusion
  • Ortus Developer Week
  • Ortus Roadshow
  • Server Crash
  • Server Software
  • Server Tuning
  • SQL
  • Survey
  • Survey results
  • TestBox
  • Transcript
  • Uncategorized
  • Webinar
  • Women in Tech
  • Home
  • Services
    • ColdFusion Consulting
    • ColdFusion Development
    • ColdFusion Maintenance
    • ColdFusion Security
  • About Us
  • CF Alive
    • CF Alive Book
    • CF Alive Inner Circle
    • CF Alive full resources cheatsheet
  • Blog
  • Podcast
    • Podcast Guest schedule
  • Contact
  • Sitemap

The ColdFusion Experts:
Develop, Secure, Optimize

TeraTech Inc
451 Hungerford Drive Suite 119
Rockville, MD 20850

Tel : +1 (301) 424 3903
Fax: +1 (301) 762 8185

Follow us on Facebook Follow us on LinkedIn Follow us on Twitter Follow us on Pinterest Follow us on YouTube

Copyright © 1998–2022 TeraTech Inc. All rights Reserved.