Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 13323 invoked from network); 10 May 2005 15:45:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2005 15:45:46 -0000 Received: (qmail 57625 invoked by uid 500); 10 May 2005 15:49:15 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 57583 invoked by uid 500); 10 May 2005 15:49:14 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 57570 invoked by uid 99); 10 May 2005 15:49:14 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from ns3.wkwyw.net (HELO ns3.wkwyw.net) (217.199.181.91) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 10 May 2005 08:49:14 -0700 Received: (qmail 4509 invoked from network); 10 May 2005 15:45:44 -0000 Received: from 82-69-78-226.dsl.in-addr.zen.co.uk (HELO ?192.168.0.4?) (82.69.78.226) by ns3.wkwyw.net with SMTP; 10 May 2005 15:45:44 -0000 Message-ID: <4280D722.7030205@apache.org> Date: Tue, 10 May 2005 16:45:38 +0100 From: Ross Gardler User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@forrest.apache.org Subject: Re: Encoding-atribute in site.xml (copied from user list) References: <799261652.20050509201636@hellyfant.de> <427FBCF9.7070404@apache.org> <1091436987.20050510072145@soethe.net> <42809305.6070703@apache.org> <1083425894.20050510141222@soethe.net> In-Reply-To: <1083425894.20050510141222@soethe.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ferdinand Soethe wrote: > > Ross Gardler wrote: > > RG> Since the template files do use UTF-8 it makes sense for them to be > RG> defined as using UTF-8. > > Agreed. No harm done in making it explicit. > > RG> No it is not an editor problem. In the absence of an encoding attribute > RG> the editor will assume a certain type of encoding. What this assumption > RG> is would be dependant on the local settings of the editor (in some cases > RG> this means the settings of the Operating System). > > Just for the sake of the argument :-) > > I just looked this up in some of my references and they > state that an xml-file without encoding attribute is utf-8 or > utf-16 (depending on the byte order mark). > > Which to me means that xml-editors that assume something else are not > conforming to the xml-standards. Or am I missing something? No it might well have been me that was missing something. Nevertheless, there is no harm in having the encoding present, even if it is a problem with editors. Ross