Hi, folks.

I'm struggeling to get global search working on strings that may (!)
contain Japanese kanji characters that are represented as double-byte
Shift-JIS characters.

The API documentation of FindStrInStr suggests to use TxtFindString if
the International Feature Set is supported. While the API says that it
matters for some strange reason that both pointers point to the start of
a valid character, the function seems to perform just the usual
case-insensitive one-byte comparasion. So it happens that if a
double-byte character 0x215L is to be searched also 0x215l is found
which sucks quite hard because since there just is not such a concept
like "capital letters" in Japanese I have to filter all found results
based on whether they found a Shift-JIS character through an own (3
line) function. This shouldn't be necessary. Or am I missing something?

Matthias


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to