Thanks for the reply!

> >
> >Recently I tried to use International/Text manager as adviced by Palm. I
> >have the PRC-tools and SDK 3.1 from Palm site. I tested code on
> POSE 3.0a4
> >with ROM from my Palm Vx. Unfortunately, it did not work. I started
> >step-by-step and found

[ ... ]

>
> I'm not sure what you mean by this. The Text Mgr routines on a Latin
> device (e.g. English, French, German) will return results that are
> appropriate for Latin-encoded text, and "somewhat reasonable" for all
> of the currently supported Latin-based languages. It doesn't know
> anything about Japanese or Russian or any other
> language/character-encoding combinations.
>

It is much more simple than that. Using any Txt* function in above
configuration generates

#APP
        ** Sorry; calling this function with these header files doesn't work yet.
Life will be much better with 3.5 headers
#NO_APP

> If you want to support Russian text using a Cyrillic character
> encoding, then you'd need to patch the IntlDispatch trap and write
> your own versions of all of the Text Manager routines.
>

That is really important to me. There are two commercial Cyrillic
localisation packages for 3.3. One of them patches Char* traps
(GetCharSortValue, GetCharAttr and GetCharCaselessValue to be sure), another
one patches IntlDispatch. Now I have to ask - does 3.3 emulate Char* by
calling Txt* internally or other way round? In this case one of these
packages is broken. If 3.3 is using independent routines for both, then both
of them are actually broken :-) (O.K., it may be, that they directly replace
system tables - is it possible? I mean, are they in RAM or ROM?)

Both work with applicaitons I've tried - but most of them do not use Txt*
functions. That leads me to believe, that Char* are implemented over Txt*
actually.

> >I'd use glue library - but headers seem to be missing in 3.1 SDK just as
> >library itself in PRC-tools 2.0.
>
> Do you mean the Text Mgr headers aren't in the 3.1 SDK? Seems odd to
> me...I'm pretty sure they went out, and they're definitely part of
> the 3.5 beta SDK.
>

I mean, that Glue headers are not in 3.1 SDK as available from public 3Com
web. TxtMgr headers are there ... but, as may be seeen above, do not work.

> I'm not sure of the status of the GCC-based development environment,
> though, so perhaps somebody else (John?) could better understand and
> answer your questions. I know there were some issues with getting an
> appropriate version of the Palm OS Glue library released for
> PRC-tools.
>
> >Can anybody point me to information on or explain how to _actually_ use
> >International manager? Or does it work only on natinal versions of PalmOS
> >and does not work on English version? Then why OS reports International
> >Manager as present? (I did read knowledgebase and Palm companion).
>
> The Text Mgr currently works with either Latin or Shift-JIS encoded
> text. The core Palm OS and ROM apps all make extensive use of it on
> all 3.1 or later devices (English, German,, Japanese, etc).
>


More precise question. Assuming, I am on european Palm, is it valid:

char *srcStr = "My Text Sample";
Word srcSize = StrLen(srcStr);
char dstStr[128];
Word dstSize = 128;

TxtTtransliterate (srcStr, srcSize, dstStr, dstSize, translitOpUpperCase);

Or should I form srcStr to be of WChar?

TIA

/andrej


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to