Hello all,

I'm trying to get my app to work ok on Japanese ROMs, and one of the issues 
is the ellipsis character.

Until PalmOS3.1 its code was 0x85, and since 3.1 it is 0x18 but 0x85 still 
works on most newer PalmOS versions, _except_ (among others?) for japanese 
versions of PalmOS.

I prefer not to release 2 separate versions of my app just for this (I 
don't intend to actually translate the app, just fix this ellipsis thing), 
so I'm looking at other solutions.

- use resource overlays.

   Problem: overlays are only available from PalmOS3.3 on so this
   doesn't work for PalmOS3.1.

   Due to the locale stuff, how many overlays do I need ? (i.e.
   how many locales need this fix? Can't I make a single overlay
   for this problem, independently from the locale?)

- fix this run-time by patching the menu in memory.

   Problem: I can call MenuGetActiveMenu() or MenuInit(), patch
   it, and call MenuSetActiveMenu(), but the main form
   loads/unloads the menu dynamically so this doesn't work right.

   Anyway, walking through the internal resource structures is
   not recommended.

- as long as this only concerns some menus, just put two menus
   in the resource and load the right one depending on the OS
   version.

   I'm leaning towards this solution, it seems to be the easiest
   one.


Are there other suggestions?


      Gert-Jan

-----
Who is General Failure and why is he reading my disk?


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

Reply via email to