Update:
1. Display: Strings entered using the forsaken high-ascii characters
(like the copyright symbol) don't display properly in edit fields and
static texts when the XP box is set to use Chinese-PRC for the
"Language for non unicode programs". I have not found any way to
solve this problem. I'm thinking I need to convince the edit field
or static text to not use a double-byte character set. A workaround
would just be to use ASCII chars only, but seems like I ought to be
able to use text encoding conversion some how. The details elude me
however.
2. Logical: String operations were failing whenever a string had high-
ascii characters. I've solved this problem. The trick was to
simply use binary versions of all string operators in any case where
the strings in question might have high-ascii characters. So,
instead of using Instr, Mid, Len, use InstrB, MidB, LenB. I had to
write my own custom CountFieldsB and NthFieldB functions as these
don't exist in RB 4.5.3 Also, I have a lot of "select case"
statements with string constants, but I've found that these still
work properly as long as neither string has high ascii characters.
Since I'm mainly using this for text file parsing, looking for known
tokens that I define in a text file that my program wrote, this is
not an issue. Overall I'd consider this second issue to be solved.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|