You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arthur Suilin <ar...@masterbit.ru> on 2003/06/17 15:33:58 UTC
How to specify encoding for generated xdoc files?
Hi!
I have a problem when generating site from mavenized project (via
site:generate).
Project description file and some sources had some Russian characters
(windows-1251 encoding). Generated site had question marks in place of all
Russian letters. When I set "maven.docs.outputencoding" property to
"windows-1251", some Russian letters appeared, but most of them are still
"???"
Problem is: all files in generated-xdocs directory have "ISO-8859-1" or just
no encoding specified. How can I set default encoding for all generated xdoc
files?
--
Arthur
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to specify encoding for generated xdoc files?
Posted by Paul Libbrecht <pa...@activemath.org>.
Arthur Suilin wrote:
>>maven.docs.outputencoding
>
> Yes, I've set this parameter. But this is works only for HTML generation at
> final stage (if all input xdoc files are in VALID windows-1251 encoding).
> Some maven plugins still generate intermediate xdoc files in ISO-8859-1
> encoding, or without specified encoding at all. These files just don't
> contain Russian letters.
I think maven hasn't been used enough for this and that some good
test-cases are needed.
I had a similar problem (I am using UTF-8 all the time even though
without out-of-iso-latin-1 characters yet) with É in an older
version but it got fixed...
I think the trouble will most probably lie within anything that is not
purely XML... like Velocity...
May I encourage anyone to submit small test-cases ? (i.e. that would
probably be small enough with a project.xml and some xdocs...).
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to specify encoding for generated xdoc files?
Posted by Arthur Suilin <ar...@masterbit.ru>.
"Martin Skopp" <sk...@riege.de> wrote in message
news:1055861434.1107.0.camel@skopp.rsidus.riege.de...
> On Tue, 2003-06-17 at 15:33, Arthur Suilin wrote:
> > Problem is: all files in generated-xdocs directory have "ISO-8859-1" or
just
> > no encoding specified. How can I set default encoding for all generated
xdoc
> > files?
>
> See http://maven.apache.org/reference/plugins/xdoc/properties.html
>
> maven.docs.outputencoding
Yes, I've set this parameter. But this is works only for HTML generation at
final stage (if all input xdoc files are in VALID windows-1251 encoding).
Some maven plugins still generate intermediate xdoc files in ISO-8859-1
encoding, or without specified encoding at all. These files just don't
contain Russian letters.
--
Arthur
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: How to specify encoding for generated xdoc files?
Posted by Martin Skopp <sk...@riege.de>.
On Tue, 2003-06-17 at 15:33, Arthur Suilin wrote:
> Problem is: all files in generated-xdocs directory have "ISO-8859-1" or just
> no encoding specified. How can I set default encoding for all generated xdoc
> files?
See http://maven.apache.org/reference/plugins/xdoc/properties.html
maven.docs.outputencoding
Specifies the output encoding of the DVSL generated docs. The default
value is ISO-8859-1 , an encoding supporting english characters as well
as most european languages.
--
Martin Skopp
Riege Software International GmbH
Support: mailto:maint@riege.com, Information: http://www.riege.com
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4 5C0D 29E6 6A95 3D40 27B5
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org