• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to get the unicode of the characters?

New Here ,
Apr 08, 2009 Apr 08, 2009

Copy link to clipboard

Copied

Hi All,

Currently, I have a quiz online for people to do for fun.  All the questions are in Chinese.  Periodically, I would add questions to this quiz by hand.  I want to automate this process by allowing my users to submit their own questions too.  So far, the only way to get it done is to store the unicode characters (i.e. 柔情萬遍祝福語) in the database.  My question is, are there any CF tags/functions that would take in the user input and return the corresponding unicode characters?

Thanks in advance,

Monte

TOPICS
Advanced techniques

Views

886

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 08, 2009 Apr 08, 2009

Copy link to clipboard

Copied

Maybe cfprocssingdirective tag help you?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 08, 2009 Apr 08, 2009

Copy link to clipboard

Copied

Currently, I have a quiz online for people to do for fun. All the questions

are in Chinese. Periodically, I would add questions to this quiz by hand. I

want to automate this process by allowing my users to submit their own

questions too. So far, the only way to get it done is to store the unicode

characters (i.e. 柔情萬遍祝福語) in

the database. My question is, are there any CF tags/functions that would

take in the user input and return the corresponding unicode characters?

what ver of cf? what db?

if your app was developed/setup correctly for unicode, you shouldn't need to

store NCRs like that, just the text from your users.

might have a look at: http://www.sustainablegis.com/unicode/greekTest.cfm

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 08, 2009 Apr 08, 2009

Copy link to clipboard

Copied

CF 8 with MySQL 5.

Thanks for that sample.  I will try it.  By the way, this quiz is a Facebook application and I did it by using FBML.  I am pretty sure that it would work if I were to convert my application into using iframe; but I kind of want it to remain to be done in FBML.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 08, 2009 Apr 08, 2009

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation