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
Copy link to clipboard
Copied
Maybe cfprocssingdirective tag help you?
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
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.
Copy link to clipboard
Copied