>> Well, actually, non ascii charachters have a variable length (from 2 >> to 4, IIRC). 'à', for example, is 2 bytes long. > >If the Unicode value U is: > >U < 128 : 1 byte 128 <= U < 2^12 : 2 bytes (e.g. accentuated letters) >2^12 <= U < 2^18 : 3 bytes (e.g. japanese characters) >2^18 <= U <= MAX_UNICODE : 4 bytes Thanks for the explanation. BTW, There was a big inaccuracy in what I wrote above. Since 'à' actually is an ASCII character (extended ASCII). ----------------------------------------------------------- Spazio ILLIMITATO per la tua Email, Scanner Antivirus, Antispam, Backup e POP3. Prova la nuova Email di superEva: http://webmail.supereva.it/ -----------------------------------------------------------