Tony Duff
2009-09-15 08:07:02 UTC
I've got an RTF import method in my wordprocessing program.
I'm trying to add the ability to read in files created in Chinese versions
of Windows. I have taken care of the Unicode aspect but I need to take care
of the older system that uses double characters and high codes with composite
fonts.
For instance, the RTF code contains
\dbch\'co\'ao
I understand this is a double byte character but it is not a unicode. So,
once I have obtained these two charactersOnce I incorporate these letters
into my program, what is the right way to display them so that the correct
Chinese letter displays? Do I send them to textout as a string of two
characters, one after the other just as I received them with the appropriate
font and character set selected? Or what?
Thanks for your help,
Tony Duff
I'm trying to add the ability to read in files created in Chinese versions
of Windows. I have taken care of the Unicode aspect but I need to take care
of the older system that uses double characters and high codes with composite
fonts.
For instance, the RTF code contains
\dbch\'co\'ao
I understand this is a double byte character but it is not a unicode. So,
once I have obtained these two charactersOnce I incorporate these letters
into my program, what is the right way to display them so that the correct
Chinese letter displays? Do I send them to textout as a string of two
characters, one after the other just as I received them with the appropriate
font and character set selected? Or what?
Thanks for your help,
Tony Duff