| || |
Testing for Japanese characters
User (firstname.lastname@example.org) posted:
Ooh, a juicy one! I have no experience with non-English character sets,
but will take a stab at it anyway...
It sounds like your problem is not capturing the characters, but
interpreting which characters you are capturing. Correct? If so, is there
any way you can know which characters SHOULD be there? If so, can you
provide an English description or Index Numbers of what characters are
expected? E.g., assign each character a label like "J1", "J2", etc., to
use as identifiers.
If you are testing one character at a time, you could use the above
identifiers to indicate which char(s) you are testing for, and compare
them using the "=" or LIKE operator, e.g., "If CharRtn = CharExp Then".
If you have to test strings of characters, write the captured Text
property containing Japanese character(s) to a file, and compare it to a
stored file that contains the expected character(s), using a file compare
function. I wrote my own file compare function that prints lines that do
not match to a log file to make it easy to see what the differences are.
There's a reference to Japanese characters in the Rational Robot online
The subject is "Generating Multi-Byte Characters", how to include
multi-byte characters in your data pool using a user-defined data type or
the Read From File datatype.
Re: Testing for Japanese characters
User Kevin Petry (email@example.com) posted:
Are your running in a localized environment like japanese windows.
Best way to record japanese is via the localized environment.