XML Desktop config files (was: Re: Tons of questions. And some patches

Thiago Macieira thiago.macieira at kdemail.net
Mon Jan 26 19:53:33 GMT 2004


Stephan Kulow wrote:
>Am Montag 26 Januar 2004 20:43 schrieb Thiago Macieira:
>> And byte order prefix encoded in UTF-8 is something that is only
>> seen with Microsoft Notepad. Text files in Unix environments aren't
>> expected to contain them.
>
>Well, Text files in Unix lack a lot. This is not a reason.

Indeed, but imagine a shell script with that byte-order mark. The 
kernels will refuse to load because they don't start with #!

The best (IMO) solution for this would be to store the file's 
Content-Type along with its charset in filesystem metadata.
-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiagom (AT) mail (dot) com
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040126/e6bd02d9/attachment.sig>


More information about the kde-core-devel mailing list