I have just found a Perl script that does something similar - it converts
Thai in TIS-620 format into Unicode encoded as UTF-8. Details at:
(Documentation Writer / Web Master)
(Electronic publishers of UK and EU legal and official documents)
http://www.alanwood.net/ (Unicode, special characters, pesticide names)
> -----Original Message-----
> From: Ørjan Jenssen [SMTP:firstname.lastname@example.org]
> Sent: Tuesday, May 30, 2000 10:19 AM
> To: Unicode List
> Subject: how to make a program/macro that toggles ascii/unicode
> Hello everyone,
> I'm working in i public office in Finnmark, the northernmost county of
> Norway. Here we regularly use sami/lappish characters like c, s and z, all
> with caron (and a few others). Before (and still), we used a nonstandard
> true type font, resulting in files with ascii-values that make sense only
> when this font is used.
> I want to make a program in Visual Basic, or a macro in Word, that can
> change characters both ways. That is, I want to be able to convert old
> so that they look right with NT, and to convert new files written in NT so
> that they look right with this special old font.
> I've made a similar program before, which changes ascii-values, ex between
> NS4551 and ansi. This is simply done by the routine
> if asc(sign) = nnn then sign = chr(yyy), and replacing the asciivalue in
> But this doesn't seem to work with unicode and values outside 255.
> Can it be done - and how?
> With regards,
> Ørjan W. Jenssen
> Office of Nature Management,
> The Finnmark County Governor
This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:21:03 EDT