regarding displaying international characters in photon

Hi:


I’m trying to display international characters in photon, I modidied
the *.es_ES file which is generated by the photon language editor, for
example: I inserted symbol “ñ” into the translation strings: ñspanish
my application, and ñsf1, but somehow the symbol doesn’t show up when
I run my program under the spanish language enviorment. it only shows up
as spanish my application and sf1 ,

following is my modified *.es_ES file:

hotkey,18015,0,0,0,ñspanish my application
PtButton_f1,3011,0,0,3,
ñsf1PtButton_f2,3011,0,0,3,


I experiencing the similiar problem when I create my own language
editor by using translation functions defined in Al.h.

Can someone tell me how to display international characters
properly in Photon???



Ran

Ran Zhang <eng@vamcofeeds.com> wrote:

I’m trying to display international characters in photon, I modidied
the *.es_ES file which is generated by the photon language editor, for
example: I inserted symbol “ñ” into the translation strings: ñspanish
my application, and ñsf1, but somehow the symbol doesn’t show up when
I run my program under the spanish language enviorment. it only shows up
as spanish my application and sf1 ,

following is my modified *.es_ES file:

hotkey,18015,0,0,0,ñspanish my application
PtButton_f1,3011,0,0,3,
ñsf1PtButton_f2,3011,0,0,3,



I experiencing the similiar problem when I create my own language
editor by using translation functions defined in Al.h.

Can someone tell me how to display international characters
properly in Photon???

Does your problem seem to depend on what characters you’re putting into
your translations? Doesn’t it also happen when the translated strings
are all pure ASCII? (Try Italian, for instance… :slight_smile:

Is it possible that your application does not find the translation file
at all? Are you setting up the ABLANG and ABLPATH environment variables
correctly? Are you running the application from within PhAB or from a pterm?

\

Wojtek Lerch (wojtek@qnx.com) QNX Software Systems Ltd.