Many Japanese characters are not rendered

I installed the Japanese Language Supplement. I have a utility program that
accepts a starting Unicode value and a number of values to display. It
converts the Unicode to UTF-8 and sets the text for a PtMultiText widget to
the UTF string. On Phindows or directly in Photon, my program can
successfully display many characters with Unicode values between U+4E00 to
U+9F00 (or about), but in any range of 15 characters there are always some
characters that appear as blank (on Photon directly) or as boxes / half
boxes (on Phindows). For example, in U+6200 to U+620F, only U+6200 and
U+6205 to U+6208 appear. It seems understandable that some ranges of
character are not supported (or even defined by Unicode), but it is strange
that usually in any 15 character range that I pick, only 2 to 6 characters
are displayed (though sometimes as many as 10).

Since my project’s application program will take input from config files
(PxConfig functions), I’m wondering if I need to test each character of
input with PgTextExtent to look for a width of 0; so I can print an error
message rather than have the user input just not be displayed.

Note: I downloaded the latest Japanese Language Supplement from the QNX web
site, installed it in /updates, but I don’t recall getting prompted to be
able to specify the directory; would the /cd/bin/phinstall program have
looked there or on the CD? How can I tell if the latest is installed? The
files in /qnx4/phjp and the .tarx files in /updates both have version 1.12.

Thanks,

Bob Stelling

Hi Bob,

I have spoken to the developer and gave me the following information

113A is OK. 114 initial release was bad.

Not all Asian symbols are in the Japanese fonts. Install the latest
114 revision. Install the Chinese supplement. If using only 113A,
then the Chinese supplement should be sufficient.

Thank You.
Hope this helps. If not post what happened
Brenda


Robert Stelling <rstelling@softwareremodeling.com> wrote:

I installed the Japanese Language Supplement. I have a utility program that
accepts a starting Unicode value and a number of values to display. It
converts the Unicode to UTF-8 and sets the text for a PtMultiText widget to
the UTF string. On Phindows or directly in Photon, my program can
successfully display many characters with Unicode values between U+4E00 to
U+9F00 (or about), but in any range of 15 characters there are always some
characters that appear as blank (on Photon directly) or as boxes / half
boxes (on Phindows). For example, in U+6200 to U+620F, only U+6200 and
U+6205 to U+6208 appear. It seems understandable that some ranges of
character are not supported (or even defined by Unicode), but it is strange
that usually in any 15 character range that I pick, only 2 to 6 characters
are displayed (though sometimes as many as 10).

Since my project’s application program will take input from config files
(PxConfig functions), I’m wondering if I need to test each character of
input with PgTextExtent to look for a width of 0; so I can print an error
message rather than have the user input just not be displayed.

Note: I downloaded the latest Japanese Language Supplement from the QNX web
site, installed it in /updates, but I don’t recall getting prompted to be
able to specify the directory; would the /cd/bin/phinstall program have
looked there or on the CD? How can I tell if the latest is installed? The
files in /qnx4/phjp and the .tarx files in /updates both have version 1.12.

Thanks,

Bob Stelling