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

Antoni Reus commented on GERONIMO-6776:
---------------------------------------

you are right, default should be UTF-8

[https://tools.ietf.org/html/rfc7159#section-8.1|https://tools.ietf.org/html/rfc8259#section-8.1]

> Let specify encoding for generated files
> ----------------------------------------
>
>                 Key: GERONIMO-6776
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6776
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>          Components: geronimo-maven-plugin
>    Affects Versions: OpenAPI_1.0.12
>            Reporter: Antoni Reus
>            Priority: Trivial
>         Attachments: encoding.patch
>
>
> Currently the geronimo-openapi-maven-plugin uses a FileWriter to generate the 
> openapi.json. This defaults to de platform encoding.
>  
> The user should be able to specify an encoding in the plugin configuration:
>  <encoding>UTF-8</encoding>
> or use ${project.build.sourceEncoding} as default encoding, and only if this 
> is not provided fallback to the platform encoding.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to