[ros-dev] RE: [ros-diffs] [ea] 13792: Fix SM\Subsystems\RequiredandSM\Subsystems\Optional.

Jasper van de Gronde th.v.d.gronde at hccnet.nl
Wed Mar 2 14:49:19 CET 2005


Magnus Olsen wrote:

> The unicode utf-7 is 16bits no more or less
> example letter  (do not take the asc2 code exacly I always mix the big and
> small letter asc code)
> 65 (letter A) in hex 0x41 the utf-7 unicode utf-7 look like this then 0041
> for letter A
> if the was utf-8 it hav been only hex 0x41 for letter A UTF-8 does have 8 to
> 32bits range
> 
> Windows are using utf-7 that why I think the regsiter are being writen in
> utf-7 hex

As far as I know UTF-7 is very similar to UTF-8, using only 7 bits per 
byte instead of 8, or something similar, it's meant for compatibility 
with systems that don't like use of the full 8 bits. UTF-16 is a 16bit 
encoding. I don't know whether Windows NT's wide characters are meant to 
be UTF-16 or UCS-2 (also 16bit, but without the ability to encode 
characters that need more than 16bits to encode), but my guess it uses 
one of those.



More information about the Ros-dev mailing list