Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 10780 invoked from network); 5 Sep 2005 12:09:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Sep 2005 12:09:33 -0000 Received: (qmail 32143 invoked by uid 500); 5 Sep 2005 12:09:30 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 32053 invoked by uid 500); 5 Sep 2005 12:09:30 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 31999 invoked by uid 99); 5 Sep 2005 12:09:30 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 05:09:29 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [84.96.21.10] (HELO mail.anyware-tech.com) (84.96.21.10) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2005 05:09:42 -0700 Received: from localhost (localhost [127.0.0.1]) by mail.anyware-tech.com (Postfix) with ESMTP id 62FD033564 for ; Mon, 5 Sep 2005 14:09:26 +0200 (CEST) Received: from mail.anyware-tech.com ([127.0.0.1]) by localhost (trinity [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11795-03 for ; Mon, 5 Sep 2005 14:09:20 +0200 (CEST) Received: from [10.0.0.171] (unknown [10.0.0.171]) by mail.anyware-tech.com (Postfix) with ESMTP id 825053355A for ; Mon, 5 Sep 2005 14:09:20 +0200 (CEST) Message-ID: <431C356F.9080001@apache.org> Date: Mon, 05 Sep 2005 14:09:19 +0200 From: Sylvain Wallez User-Agent: Mozilla Thunderbird 1.0.6 (Macintosh/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: svn commit: r278641 - /cocoon/branches/BRANCH_2_1_X/src/blocks/xsp/java/org/apache/cocoon/components/language/markup/xsp/XSPExpressionParser.java References: <20050904232913.16023.qmail@minotaur.apache.org> <3989A6B9-7BD2-4716-B10C-1807FFF1A6A2@betaversion.org> <431BE904.5060501@agssa.net> <200509051859.05589.niclas@hedhman.org> In-Reply-To: <200509051859.05589.niclas@hedhman.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at anyware-tech.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Niclas Hedhman wrote: >On Monday 05 September 2005 14:43, Antonio Gallardo wrote: > > > >>Of course that I am aware that both codesets (Shift-JIS and ISO-8859-1) are >>different UNICODE subset. This is same as you stated. >> >> > >No. Pier doesn't mix the difference between Unicode (sequence of characters) >and the mapping of those characters to fixed or variable length encoded >bytestreams. >The fact that character 65 in Unicode is in many encodings mapped to the byte >value 65 is for convenience only, and that fact should be ignored. > > > >>Our SVN uses UTF-8 as the default charset (or encoding) or not? >> >> > >Subversion uses binary data, and is agnostic to any encodings in the data (or >so they say). AFAIU, marking files as text only deals with the line endings >and how the diff mails are generated. > > Problem is the interpretation of "line ending". On Unix, it's 0x10 which can be part of a multibyte character in a file encoded in UTF-8. In such a case, although the file is a text file, setting the "eol-style=native" property may well break the file... Or is there a way to specify the encoding to SVN? Sylvain -- Sylvain Wallez Anyware Technologies http://people.apache.org/~sylvain http://www.anyware-tech.com Apache Software Foundation Member Research & Technology Director