Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Speakers with UTF-8 characters (äöü) are not parsed correctly #74

Closed
JohannesRabauer opened this issue Feb 29, 2024 · 5 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@JohannesRabauer
Copy link
Member

No description provided.

@AB-xdev AB-xdev added the bug Something isn't working label Feb 29, 2024
@AB-xdev
Copy link
Member

AB-xdev commented Feb 29, 2024

The problem is that the JVM is using not UTF8 as default encoding.

However ApiClient#deserialize should also not use scanner and better use EntityUtils#toString instead as this method correctly derives the charset from the encountered response.

@AB-xdev
Copy link
Member

AB-xdev commented Feb 29, 2024

Same problem is described here: OpenAPITools/openapi-generator#16818

@AB-xdev
Copy link
Member

AB-xdev commented Feb 29, 2024

Create upstream PR: OpenAPITools/openapi-generator#17998

If this is not merged in time, well should patch this manually (in our openapi template repo).

@AB-xdev
Copy link
Member

AB-xdev commented Mar 26, 2024

@AB-xdev AB-xdev closed this as completed Mar 26, 2024
xdev-gh-bot pushed a commit that referenced this issue Jun 24, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants