I've been trying to add unicode support into Tcl... adding the parser support worked fine, so that I was able (in my sandbox) to get:
puts \u30b3\u30fc\u30d2\u30fc
Working... because puts is just iso-8859-01, and the unicode was just unicode. Once I started trying to do mix and match, I started getting a lot of runtime exceptions. I can't seem to find a combination of implemented methods at the moment that'll let me limp by.
There are 30 unimplmented methods in charset/unicode.h (and a few in ascii & binary)- The one that's holding me up right now is:
oolong:~/research/parrot coke$ cat foo.pir
.sub main @MAIN
$S1 = chr 0x30b3
$I1 = index $S1, "a"
.end
oolong:~/research/parrot coke$ ./parrot foo.pir unimplemented unicode
in file 'foo.pir' near line 3
Any help would be greatly appreciated.