[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: writing utf8 docs
From:       Koos Vriezen <koos.vriezen () xs4all ! nl>
Date:       2005-06-30 6:10:20
Message-ID: 20050630061020.GC60433 () xs4all ! nl
[Download RAW message or body]

On Wed, Jun 29, 2005 at 10:11:32PM -0300, Thiago Macieira wrote:
> Koos Vriezen wrote:
> >Hi,
> >
> >I'm trying to get an utf8 doc w/o luck so far. Eg. the degree
> >symbool (B0 in latin1), both with kcharselect as with kate ,and using
> >its utf8 encoding, they keep insisting on C2B0 (which might be utf16,
> >but not utf8, IIRC the last byte should be <= 7f).
> 
> U+00B0 is encoded C2 B0 in UTF-8. So it's correct.

Any idea why I thought an utf8 char should be a sequence of bytes >= 0x80
and last one < 0x80 (ie. is that some other encoding) ?
 
> Note it's byte 0xC2, then byte 0xB0. It is not 0xC2B0.

Uhm, 0xC2B0 is two bytes, no?

Koos
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic