libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] Iconv usage and string handling


From: plaum
Subject: Re: [Libcdio-devel] Iconv usage and string handling
Date: Sat, 22 Apr 2006 17:33:51 +0200 (CEST)

Hi,

> I also support using UTF-8.
>
> One question, though: how could you guard against subtle bugs?  Since
> ASCII coded in UTF-8 looks like plain ASCII, an unwary developer could
> accidentally treat the UTF-8 data as simply ASCII, which has
> unexpected behavior for unicode data.

It should of course be documented that strings are UTF-8. A developer,
who doesn't care about character sets and doesn't read documentation,
gets, what he deserves. Right now, character sets are mostly ignored,
so the situation will improve anyway :)

Burkhard







reply via email to

[Prev in Thread] Current Thread [Next in Thread]