API with double byte character

Hi all,

When I trying to pass a string with double byte character to an API function, the words can’t show correctly.

Say like, I pass a double byte string(Chinese) to NSFItemAppend and make the string appear on the subject field of a doc,

but when i open the doc to check the result, I find that the string become Klingon instead of Chinese! (LOL)

Did anyone face this problem before?

Please suggest.

Se vian sana,

Frank

Subject: API with double byte character

first: “double byte character” means unicode here?

there is OSTranslate that has param OS_TRANSLATE_UNICODE_TO_LMBCS (or something like that).

all notes-functions (unless stated otherwise in api-guide) take lmbcs as input…

Markus Seitz

markus.seitz@icodex.com

Subject: RE: API with double byte character

Hi Markus,

This what i want, thx very much.

Frank