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/
  • Charset Luciano A. Stertz
    • Re: Charset P. Douglas Reeder

Reply via email to