From: Chapman, Christopher (Christopher.Chapman@monotypeimaging.com)
Date: Wed Jan 18 2006 - 07:10:14 CST
Well, there's Python...
Here's a simple Python script I saved in a UTF-8 file called test.py:
hello = u'ÄãºÃ'
print '%04X, %04X' % (ord(hello[0]), ord(hello[1]))
Here's the output:
C:\temp>python test.py
4F60, 597D
Cheers,
Christopher
-----Original Message-----
From: unicode-bounce@unicode.org [mailto:unicode-bounce@unicode.org] On Behalf Of Mike Ayers
Sent: Wednesday, January 18, 2006 12:08 AM
To: unicode@unicode.org
Subject: Unicode native scripting language?
It's now commonplace for scripting languages to "support" Unicode, but
is there one that is truly fluent in Unicode? I want to be able to:
String hello = 'ÄãºÃ';
...and go from there. The key here is to be able to use Unicode in the
source code. SQL integration would be a plus. Any pointers would be
appreciated.
Thanks,
/|/|ike
This archive was generated by hypermail 2.1.5 : Wed Jan 18 2006 - 07:13:18 CST