Hi,

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.

So... which is the charset used by Palm? Seems that I'll have to convert every string before printing. Is there an easy way to do that?

   Luciano



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

Reply via email to