Clive Walden wrote:

But I'm curious why an assumption like this (1 byte == 1 character)
would simplify your record packing problem.

It is not the "coding" that concerns me, it is the storage.

I have to pack a huge amount of data into the Palm. Unless I am fundamentally mistaken, double byte characters will require twice as much storage per string as single byte characters.

Multibyte != double byte

Multibyte is single byte for all chars < 128, and 1 or more bytes depending on the encoding for everything >= 128. UTF8 is multibyte for example. UTF16 is double byte. UTF8 still works with most of the c-lib string functions, UTF16 not.

Regards
Henk
--
-------------------------------------------------------------------------
  Henk Jonas
  Palm OS � certified developer

  [EMAIL PROTECTED]                                   www.metaviewsoft.de
-------------------------------------------------------------------------

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

Reply via email to