Hi Douglas,

    My Palm is EFIGIS, running in English. You're right about that, the encoding is iso-8859-1. About the charset of the source files, I'm not sure about that. I'm using PODS, and the only setting I found that seems related to this has only 3 options (Palm OS Latin, Japanese, Simplified Chinese). It's configured to Palm OS Latin, which I guess corresponds to iso-8859-1.
    So... seems I'll need to convert from iso-8895-1 to ascii. I found one function to do this convertion (TxtConvertEncoding) but unfortunately it does not work with the extended ASCII characters (0x80 to 0xff).
    Does anyone have code to do this conversion?

    Luciano

P. Douglas Reeder escreveu:
The charset depends on what country/region the Palm was released in; 
for US models it's ISO-8859-1, with a few replacements.  The question 
is, what character set is your source file written using?


On Oct 16, 2007, at 7:54 PM, Luciano A. Stertz wrote:

  
   What is the Palm default charset? I'm trying to write a software 
that interfaces with a printer, and all accented characters are print 
incorrectly. The printer is configured to use the extended ascii 
charset. Look at the following code:

   1. Create a simple static array with accents and print it.
   char buffer[]="Luciano André Stertz\r\n;

   Result: the accented character is printed incorrectly.
   2. Create the same static array and overwrite the accented character
   char buffer[]="Luciano André Stertz\r\n;
   buffer[12]=0x82;      // 'é' in the extended ascii charset
     Result: Correctly printed.
    


  


-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Reply via email to