From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EuToJ-0002PK-Rq for qemu-devel@nongnu.org; Thu, 05 Jan 2006 07:01:40 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EuStF-0007ke-Al for qemu-devel@nongnu.org; Thu, 05 Jan 2006 06:02:46 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EuSiR-0006n4-LE for qemu-devel@nongnu.org; Thu, 05 Jan 2006 05:51:33 -0500 Received: from [193.77.157.51] (helo=konto.si) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EuSjz-0006v1-Nq for qemu-devel@nongnu.org; Thu, 05 Jan 2006 05:53:08 -0500 Received: from localhost (localhost [127.0.0.1]) by konto.si (Postfix) with ESMTP id DBAB9680A for ; Thu, 5 Jan 2006 11:52:20 +0100 (CET) Received: from konto.si ([127.0.0.1]) by localhost (postar.konto.si [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17113-19 for ; Thu, 5 Jan 2006 11:52:19 +0100 (CET) Received: from HACTAR (unknown [84.52.165.220]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by konto.si (Postfix) with ESMTP id C2B035FC for ; Thu, 5 Jan 2006 11:52:18 +0100 (CET) Date: Thu, 5 Jan 2006 11:49:55 +0100 From: =?iso-8859-2?Q?Jernej_Simon=E8i=E8?= Message-ID: <1895717174.20060105114955@ena.si> Subject: Re: [Qemu-devel] qemu and configuration file? In-Reply-To: <64B272FD-90C3-4CA9-849C-1DA281EAD549@kberg.ch> References: <200512312120.43014.bepi@adria.it> <200601032249.41640.bepi@adria.it> <43BB6224.9020507@vision.ee> <200601042222.09682.bepi@adria.it> <1534613653.20060105004107@ena.si> <984619D2-D03A-4988-9100-2D5BE527EAD8@kberg.ch> <177960205.20060105010427@ena.si> <64B272FD-90C3-4CA9-849C-1DA281EAD549@kberg.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Mike Kronenberg on [qemu-devel]" On Thursday, January 5, 2006, 1:28:36, Mike Kronenberg wrote: > qemu "/Users/Jernej Simon=E8i=E8/Simon=E8i=E8_image_2.img" -m 128 > can be correctly declarated and stored in a XML file while its =20 > generating problems with normal 8bit text files. You do realize, that Qemu could easily declare that it's config files are in utf8? (Though, from my experience with Linux filesystems, the file names there are just stream of characters, and it's entirely up to the program how those characters will be presented to the user - the programs/OS doesn't care if the filename can't be properly displayed with the current user settings, as long as the name is valid, it can be accessed). IMHO, XML and charset encodings are beyond Qemu's scope - it just needs to read in the file, change it's settings accordingly and go it's way. Parsing XML or dealing with encodings adds too much code for way too little benefit. > Not necessarily on =20 > the creators system, but maybe on another users system, if you share =20 > the config file and the image with somebody... Depends on what you use to share the config - many network protocols and archive formats don't care about the charsets either, and in the worst case scenario, you'll have to edit the config file and do a bit of search-and-replace (or simply use iconv) before the file will be usable (then again, I normally avoid naming my files using national characters - too many problems with that). > It's already fun to exchange "normal" textfiles" between Mac =20 > (Macroman) and windows and linux(utf-8/iso-8950-x). UTF8 is pretty universal, and should be supported on just about any OS (on Windows 2000 eg. the simple Notepad opens and saves utf8 files just fine). --=20 < Jernej Simon=E8i=E8 ><><><><>< http://deepthought.ena.si/ > It's a good thing money can't buy happiness. We couldn't stand the commerci= als. -- Gerrold's Fundamental Truth