You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Bernhard Grünewaldt (JIRA)" <ji...@codehaus.org> on 2009/06/28 12:08:05 UTC

[jira] Created: (DOXIA-345) UTF-8 problems with APT and XDOC format

UTF-8 problems with APT and XDOC format
---------------------------------------

                 Key: DOXIA-345
                 URL: http://jira.codehaus.org/browse/DOXIA-345
             Project: Maven Doxia
          Issue Type: Bug
    Affects Versions: 2.0
         Environment: Ubuntu Linux 9.04 (Kernel 2.6.28-13-generic) ;
Java 1.6 u 13 jdk 32 bit ;
maven-site-plugin with 2.0-beta-7
            Reporter: Bernhard Grünewaldt
         Attachments: utf8-test.zip

At the moment I am using the XDOC format.
I want to switch to APT format since it is the "replacement" for XDOC. That's what you write on your website.

I read the previous bugs on ISO-8859-1 and UTF-8 issues.
For xdoc it now works when using maven-site-plugin with version  2.0-beta-7 and outputEncoding utf8.

But for APT there is still the problem that the fileencoding is in "plattformencoding" which is latin1 or ISO-8859-1, but not UTF-8.
And asian characters don't come in ISO, they come in utf8 encoding.

So how can the APT format be the replacement for XDOC when that is not working.

Could you please come up with a solution for it. 
How about another file-extension for utf8 apt files. Like "filename.uapt" 

I would really appreciate any solutions on that problem.

I attached a test-project to the bug with one apt file and one xdoc file with special utf8 chars.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Closed: (DOXIA-345) UTF-8 problems with APT and XDOC format

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/DOXIA-345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed DOXIA-345.
-------------------------------

      Assignee: Lukas Theussl
    Resolution: Not A Bug

bq. I want to switch to APT format since it is the "replacement" for XDOC. That's what you write on your website.

Where do we say that? Apt is not a replacement for xdoc, they are both valid input formats, that are supported, among [others|http://maven.apache.org/doxia/references/index.html], on an equal footing by Doxia. (My personal recommendation would even be to stick with xdoc, as it's much more feature-rich.)

As explained at DOXIA-278, there is no way to indicate the encoding of an apt file on a per-file basis, you have to use the site-plugin's inputEncoding parameter:

{noformat}
<inputEncoding>UTF-8</inputEncoding>
{noformat}

Works for me...

> UTF-8 problems with APT and XDOC format
> ---------------------------------------
>
>                 Key: DOXIA-345
>                 URL: http://jira.codehaus.org/browse/DOXIA-345
>             Project: Maven Doxia
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Ubuntu Linux 9.04 (Kernel 2.6.28-13-generic) ;
> Java 1.6 u 13 jdk 32 bit ;
> maven-site-plugin with 2.0-beta-7
>            Reporter: Bernhard Grünewaldt
>            Assignee: Lukas Theussl
>         Attachments: utf8-test.zip
>
>
> At the moment I am using the XDOC format.
> I want to switch to APT format since it is the "replacement" for XDOC. That's what you write on your website.
> I read the previous bugs on ISO-8859-1 and UTF-8 issues.
> For xdoc it now works when using maven-site-plugin with version  2.0-beta-7 and outputEncoding utf8.
> But for APT there is still the problem that the fileencoding is in "plattformencoding" which is latin1 or ISO-8859-1, but not UTF-8.
> And asian characters don't come in ISO, they come in utf8 encoding.
> So how can the APT format be the replacement for XDOC when that is not working.
> Could you please come up with a solution for it. 
> How about another file-extension for utf8 apt files. Like "filename.uapt" 
> I would really appreciate any solutions on that problem.
> I attached a test-project to the bug with one apt file and one xdoc file with special utf8 chars.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (DOXIA-345) UTF-8 problems with APT and XDOC format

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181823#action_181823 ] 

Lukas Theussl commented on DOXIA-345:
-------------------------------------

Ok, this only refers to xdoc being replaced by Apt as the "*primary* documentation format", whatever that means.... it probably only reflects the personal preference of the author at the time of writing... ;)

> UTF-8 problems with APT and XDOC format
> ---------------------------------------
>
>                 Key: DOXIA-345
>                 URL: http://jira.codehaus.org/browse/DOXIA-345
>             Project: Maven Doxia
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Ubuntu Linux 9.04 (Kernel 2.6.28-13-generic) ;
> Java 1.6 u 13 jdk 32 bit ;
> maven-site-plugin with 2.0-beta-7
>            Reporter: Bernhard Grünewaldt
>            Assignee: Lukas Theussl
>         Attachments: utf8-test.zip
>
>
> At the moment I am using the XDOC format.
> I want to switch to APT format since it is the "replacement" for XDOC. That's what you write on your website.
> I read the previous bugs on ISO-8859-1 and UTF-8 issues.
> For xdoc it now works when using maven-site-plugin with version  2.0-beta-7 and outputEncoding utf8.
> But for APT there is still the problem that the fileencoding is in "plattformencoding" which is latin1 or ISO-8859-1, but not UTF-8.
> And asian characters don't come in ISO, they come in utf8 encoding.
> So how can the APT format be the replacement for XDOC when that is not working.
> Could you please come up with a solution for it. 
> How about another file-extension for utf8 apt files. Like "filename.uapt" 
> I would really appreciate any solutions on that problem.
> I attached a test-project to the bug with one apt file and one xdoc file with special utf8 chars.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (DOXIA-345) UTF-8 problems with APT and XDOC format

Posted by "Bernhard Grünewaldt (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/DOXIA-345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181820#action_181820 ] 

Bernhard Grünewaldt commented on DOXIA-345:
-------------------------------------------

Ok works now, thx.

But the sentence with the replacement is written on the page:
http://maven.apache.org/doxia/references/xdoc-format.html

"Overview"
.... "Maven 2 largely replaced this by Apt, but xdoc is still supported. "


> UTF-8 problems with APT and XDOC format
> ---------------------------------------
>
>                 Key: DOXIA-345
>                 URL: http://jira.codehaus.org/browse/DOXIA-345
>             Project: Maven Doxia
>          Issue Type: Bug
>    Affects Versions: 2.0
>         Environment: Ubuntu Linux 9.04 (Kernel 2.6.28-13-generic) ;
> Java 1.6 u 13 jdk 32 bit ;
> maven-site-plugin with 2.0-beta-7
>            Reporter: Bernhard Grünewaldt
>            Assignee: Lukas Theussl
>         Attachments: utf8-test.zip
>
>
> At the moment I am using the XDOC format.
> I want to switch to APT format since it is the "replacement" for XDOC. That's what you write on your website.
> I read the previous bugs on ISO-8859-1 and UTF-8 issues.
> For xdoc it now works when using maven-site-plugin with version  2.0-beta-7 and outputEncoding utf8.
> But for APT there is still the problem that the fileencoding is in "plattformencoding" which is latin1 or ISO-8859-1, but not UTF-8.
> And asian characters don't come in ISO, they come in utf8 encoding.
> So how can the APT format be the replacement for XDOC when that is not working.
> Could you please come up with a solution for it. 
> How about another file-extension for utf8 apt files. Like "filename.uapt" 
> I would really appreciate any solutions on that problem.
> I attached a test-project to the bug with one apt file and one xdoc file with special utf8 chars.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira