Nope, I have encoding set to UTF-8 in pom xml prolog. It must be something with Velocity I guess. The HTML rendering engine is correctly setting the
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

in generated doc pages, but the content is screwed before.
UTF-8 is the default XML files encoding, just in case I explicitly declared it in both pom and xdoc xml files.

Any other idea?

-Borut

On 3.3.2006 13:16, Alexandre Poitras wrote:
Check that all your pom are encoded using UTF-8 (<?xml version="1.0"
encoding="UTF-8">). It was a problem in my case with ISO-8859-1 but I
don't know in your case since UTF-8 is usually the default encoding.

On 3/3/06, Borut Bolčina <[EMAIL PROTECTED]> wrote:
  
Hello again,

although setting output encoding to utf-8 which is also the encoding of
my xdoc custom site documentation files, HTML output is garbled.

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-site-plugin</artifactId>
    <configuration>
        <outputEncoding>utf-8</outputEncoding>
    </configuration>
</plugin>

The HTML generated treats utf-8 double-byte encoded characters as
single-byte, so a character like č is displayed as ÄŤ. It is not browser
related issue.

Is there a setting somewhere to tell the rendering engine what encoding
the input files are? IMO utf-8 should be the default.

Regards,
Borut


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


    


--
Alexandre Poitras
Québec, Canada
  

--
bLOG
--
Naključna izjava tedna iz tednika Mladina:

Reply via email to