Re: Unicode drives me crazy - need help
> From Form post, take input of Chinese character (GB2312 or Big5) > > And then convert them to UTF-16 sorry got distracted 1) if you can use ucs-2 (utf-16 is often referred to as extended ucs-2) just dump your data into a suitable db. 2) cffile now has a encoding option & supposedly supports both flavors of utf-16 (big or little endian). 3) use setEncoding to the form's encoding & create a utf-16 template (notepad is a good choice) to process this stuff. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.375 / Virus Database: 210 - Release Date: 11/7/2545 __ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: Unicode drives me crazy - need help
>From Form post, take input of Chinese character (GB2312 or Big5) And then convert them to UTF-16 -Original Message- From: Paul Hastings [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 24, 2002 5:34 PM To: CF-Talk Subject: Re: Unicode drives me crazy - need help > I'm trying to convert some Chinese character to Hex code. > Example: 三 (Three) = 4E09 what was the original encoding? what do you mean by HEX, some unicode transform? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.375 / Virus Database: 210 - Release Date: 10/7/2545 __ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: Unicode drives me crazy - need help
> I'm trying to convert some Chinese character to Hex code. > Example: 三 (Three) = 4E09 what was the original encoding? what do you mean by HEX, some unicode transform? --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.375 / Virus Database: 210 - Release Date: 10/7/2545 __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists