Re: Unicode and C++



Kaixo!

On Tue, Jul 04, 2000 at 10:21:36AM +0200, Per Hedbor wrote:

> Consider:
> 
> we have the file 'åke'. 
> This file is selected by a GTK file-selector.
> This results in the string 'Ã¥ke'.
> Now, if we try to do some operation on this string, we have problems.
> 
> The reverse is also true, when you read that the username is 
> 'Åke Rök' from the passwd database, you have to convert it to utf8
> before you can use it.

Yes; well, only if yo udon't already use utf-8 for filesystem and user names;
something that will probably happen in future.

My point is that, from all possible encodings of unicode, utf-8 is the one
that the less needs conversions.

-- 
Ki ça vos våye bén,
Pablo Saratxaga

http://www.srtxg.easynet.be/		PGP Key available, key ID: 0x8F0E4975




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]