forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <>
Subject Re: Encoding-atribute in site.xml (copied from user list)
Date Tue, 10 May 2005 10:55:01 GMT
Ferdinand Soethe wrote:
> 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.
>>>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:


> 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?

No it is not an editor problem. In the absence of an encoding attribute
the editor will assume a certain type of encoding. What this assumption
is would be dependant on the local settings of the editor (in some cases
this means the settings of the Operating System).

Since the template files do use UTF-8 it makes sense for them to be
defined as using UTF-8.


View raw message