RE: Another Unicode RTF question

From: Addison Phillips (AddisonP@simultrans.com)
Date: Mon Jan 25 1999 - 15:17:14 EST


Which means that you're getting the substitution character... "?" is the
character used by Windows to substitute for characters that cannot be
represented in the current code page...

The problem is probably that you're using the Japanese symbols from the
half-width/full-width forms section of Unicode, rather than the
corresponding ASCII or mathematical symbols.

If you're running Windows NT install the cp932.nls file from the \LANGPACK
directory on your Windows CD-ROM (right click on Japanese.inf and choose
"install") and view the next-to-last section ("Full and Half Width Forms")
in the Character Map utlity using the font "MS Mincho" and you'll see the
full-width "+" and "/" symbols... otherwise you'll see a square box. Even
Lucide Sans Unicode doesn't support this section of Unicode, so you have to
use a Japanese font. Since you don't have the code page installed right now
you get the substitution character "?" instead of a proper mapping in your
RTF as well (although I'm not positive that installing the code page is
enough to solve this particular problem).

It is almost always better not to use full and half width characters but to
substitute the ANSI characters/fonts, although there are specific uses where
full-width characters are a help.

Addison

-----Original Message-----
From: Peter_Constable@sil.org [mailto:Peter_Constable@sil.org]
Sent: Monday, January 25, 1999 10:13 AM
To: Unicode List
Subject: Re: Another Unicode RTF question

       In RTF, Unicode values are given as short integers, represented
       in decimal. Add 65536 to find out what you've got in your file.

       \u-241 = d65295 = U+FF0F
       \u-245 = d65291 = U+FF0B

       The \'3f that appears after each of these means that these
       would be mapped to x3F ("?") in whatever codepage is specified
       for that font (determined by the charset).

       Hope that helps.

       Peter



This archive was generated by hypermail 2.1.2 : Tue Jul 10 2001 - 17:20:44 EDT