[Commented] (MNG-6205) Non-ascii chars in name element are displayed as question marks in Win CLI output (regression)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Commented] (MNG-6205) Non-ascii chars in name element are displayed as question marks in Win CLI output (regression)

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/MNG-6205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977634#comment-15977634 ]

Hervé Boutemy commented on MNG-6205:
------------------------------------

I made tests, here are the results:
- with Oracle JDK, file.encoding is Windows-1252 and System.out encoding is CP850 (see {{chcp}} result): this is the fix/hack Guillaume coded
- with IBM JDK, file.encoding is Windows-1252 and System.out encoding is also Windows-1252: then the previous fix for Oracle JDK breaks IBM JDK

Anders, can you confirm that Jansi 1.15 gives good result with IBM JDK, please?

if it's the case, we'll have to update the fix/hack to be executed only with Oracle JDK, and not with IBM JDK

> Non-ascii chars in name element are displayed as question marks in Win CLI output (regression)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MNG-6205
>                 URL: https://issues.apache.org/jira/browse/MNG-6205
>             Project: Maven
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 3.5.0
>         Environment: Windows 7, IBM JDK 7.1, Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426)
>            Reporter: Anders Hammar
>             Fix For: 3.5.1-candidate
>
>         Attachments: jansi-1.16-SNAPSHOT.jar, pom.xml
>
>
> If non-ascii characters (such as Swedish chars å, ä, ö) are used in the pom name element, they are displayed as question mark ('?') in the CLI output when building on Windows. This can been seen e.g. in the Reactor Summary in the end.
> See attached pom for an example.
> This was not an issue in Maven 3.3.9.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
Loading...