You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Valeriy (JIRA)" <ji...@codehaus.org> on 2012/02/06 16:33:02 UTC

[jira] (MPDF-54) Umlaute are not represented correctly (not always)

Valeriy created MPDF-54:
---------------------------

             Summary: Umlaute are not represented correctly (not always)
                 Key: MPDF-54
                 URL: https://jira.codehaus.org/browse/MPDF-54
             Project: Maven 2.x PDF Plugin
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Win 7, Maven 2.2.1, JVM "1.6.0_29"
            Reporter: Valeriy
         Attachments: MPDF_BUG.PNG

The german umlauts (äöüß) are not represented correctly. Instead of it appears # symbol. But not always. 
The items from Document Descriptor are represented correctly. For instance: in document descriptor we have 

<toc name="Table of Contents">
    <item name="Übersicht" ref="/30-documentation/0-uebersicht.apt"/>
</toc>

In 0-uebersicht.apt we have a line: Übersicht test äöüß ÄÖÜ
The output looks: #bersicht test #### ###. See also attachment. 





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] (MPDF-54) Umlaute are not represented correctly (not always)

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MPDF-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=313279#comment-313279 ] 

Dennis Lundberg commented on MPDF-54:
-------------------------------------

We are experiencing the same issue. In our case source encoding is always ISO-8859-1. In site.xml we can specify this, and apparently the PDF plugin respects that. In .apt documents it is not possible to specify the encoding. The PDF plugin should use project.build.sourceEncoding when reading such source files.

What encoding are you using in your .apt files?
Have you specified the encoding in site.xml?
What is the platform encoding for the machine that you use to generate the PDF?
                
> Umlaute are not represented correctly (not always)
> --------------------------------------------------
>
>                 Key: MPDF-54
>                 URL: https://jira.codehaus.org/browse/MPDF-54
>             Project: Maven 2.x PDF Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Win 7, Maven 2.2.1, JVM "1.6.0_29"
>            Reporter: Valeriy
>         Attachments: MPDF_BUG.PNG
>
>
> The german umlauts (äöüß) are not represented correctly. Instead of it appears # symbol. But not always. 
> The items from Document Descriptor are represented correctly. For instance: in document descriptor we have 
> <toc name="Table of Contents">
>     <item name="Übersicht" ref="/30-documentation/0-uebersicht.apt"/>
> </toc>
> In 0-uebersicht.apt we have a line: Übersicht test äöüß ÄÖÜ
> The output looks: #bersicht test #### ###. See also attachment. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira