Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 69469 invoked from network); 26 Mar 2002 08:05:55 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 26 Mar 2002 08:05:55 -0000 Received: (qmail 24659 invoked by uid 97); 26 Mar 2002 08:06:03 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 24608 invoked by uid 97); 26 Mar 2002 08:06:03 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 24588 invoked by uid 97); 26 Mar 2002 08:06:02 -0000 Date: 26 Mar 2002 08:05:49 -0000 Message-ID: <20020326080549.56086.qmail@icarus.apache.org> From: bodewig@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/xdocs faq.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N bodewig 02/03/26 00:05:49 Modified: docs faq.html xdocs faq.xml Log: Add FAQ for national characters in build files. Submitted by: Mark Stehr Revision Changes Path 1.25 +49 -0 jakarta-ant/docs/faq.html Index: faq.html =================================================================== RCS file: /home/cvs/jakarta-ant/docs/faq.html,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- faq.html 15 Mar 2002 09:52:36 -0000 1.24 +++ faq.html 26 Mar 2002 08:05:49 -0000 1.25 @@ -217,6 +217,10 @@ isn't giving me any files at all. What's wrong? +
  • + How can I include national characters like German + umlauts in my build file? +
  • @@ -1240,6 +1244,51 @@ to get them. If you find you need to trim the list that the <include> elements produce, then use <exclude> elements.

    + + + + + + + +
    + + + How can I include national characters like German + umlauts in my build file? + + +
    +
    +

    You need to tell the XML parser which character encoding + your build file uses, this is done inside the XML + declaration.

    +

    By default the parser assumes you are using the UTF-8 + encoding instead of your platform's default. For most western + european contries you should set the encoding to + ISO-8859-1. To do so, make the very first line + of you build file read like

    +
    + + + + + + + + + + + + + + + + +
      +<?xml version="1.0" encoding="ISO-8859-1" ?>
      +
    +
    1.16 +21 -0 jakarta-ant/xdocs/faq.xml Index: faq.xml =================================================================== RCS file: /home/cvs/jakarta-ant/xdocs/faq.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- faq.xml 13 Mar 2002 17:02:35 -0000 1.15 +++ faq.xml 26 Mar 2002 08:05:49 -0000 1.16 @@ -564,6 +564,27 @@ + + How can I include national characters like German + umlauts in my build file? + + +

    You need to tell the XML parser which character encoding + your build file uses, this is done inside the XML + declaration.

    + +

    By default the parser assumes you are using the UTF-8 + encoding instead of your platform's default. For most western + european contries you should set the encoding to + ISO-8859-1. To do so, make the very first line + of you build file read like

    + + +]]> + + -- To unsubscribe, e-mail: For additional commands, e-mail: