Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 19030 invoked from network); 10 May 2005 05:21:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 May 2005 05:21:55 -0000 Received: (qmail 14239 invoked by uid 500); 10 May 2005 05:25:17 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 14120 invoked by uid 500); 10 May 2005 05:25:17 -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 14105 invoked by uid 99); 10 May 2005 05:25:16 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=PRIORITY_NO_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from smtprelay04.ispgateway.de (HELO smtprelay04.ispgateway.de) (80.67.18.16) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 09 May 2005 22:25:16 -0700 Received: (qmail 31494 invoked from network); 10 May 2005 05:21:48 -0000 Received: from unknown (HELO localhost) (305514@[212.59.61.70]) (envelope-sender ) by smtprelay04.ispgateway.de (qmail-ldap-1.03) with SMTP for ; 10 May 2005 05:21:48 -0000 Date: Tue, 10 May 2005 07:21:45 +0200 From: Ferdinand Soethe X-Priority: 3 (Normal) Message-ID: <1091436987.20050510072145@soethe.net> To: dev@forrest.apache.org Subject: Encoding-atribute in site.xml (copied from user list) In-Reply-To: <427FBCF9.7070404@apache.org> References: <799261652.20050509201636@hellyfant.de> <427FBCF9.7070404@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ross Gardler wrote: RG> Roland Becker wrote: >> Is there e reason, that "site.xml" after "forrest seed" has >> no encoding-atribute? >> >> If there is a german umlaut in "site.xml", then build fails with: >> >> linkmap.html BROKEN: Invalid byte 2 of 2-byte UTF-8 sequence. >> BUILD FAILED >> C:\programme\apache-forrest-0.6\src\core\targets\site.xml:43: Java returned: 1 RG> No reason that I am aware of or can imagine. I've updated the file in RG> site.xml for the next release. Funny, I have been using Umlaute with 0.7 head all over my site.xml and never had a problem compiling it. See below: > > > > <�ber_uns label="Wir �ber uns" href="index.html"/> > > > > > > > > I assumed that somebody had fixed the problem in the meantime but never checked. Now I did and found that Eclipse understands site to be utf-8 even though there is not explicit declaration. Perhaps we should append the issue and the FAQ entry (How to use special characters in the labels of the site.xml file?) referring to the problem and explain that you _can_ use special characters directly if you use the standard utf-8 encoding for site.xml (and make sure your editor knows it). Still unclear to me: Am I correct that this is an _editor problem_ in the sense that no encoding-attribute means the file is utf-8 but Roland's editor needed a stronger hint? Thanks, Ferdinand Soethe