Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Export feature does not set UTF-8 as default #3681

Open
obreil54 opened this issue May 17, 2024 · 1 comment
Open

Export feature does not set UTF-8 as default #3681

obreil54 opened this issue May 17, 2024 · 1 comment

Comments

@obreil54
Copy link

Describe the bug
When I am in the export view and I can select the decode format it says that if you leave it blank it will use UTF-8 by default, however if I do leave it blank it does not use UTF-8.

Reproduction steps
I know this because when I leave it blank it does not decode Russian characters properly, however if I select UTF-8 manually then it then decodes everything as needed.

@cars10
Copy link

cars10 commented Dec 10, 2024

We have the same issue. The code does not reflect what is stated in the help message:

  • the form does not set a default value
  • the controller simply passes the blank encoding to the csv_converter
  • the csv_converter does not fallback to abstract_model.encoding (like the help message), it only relies on the controller params. so no encoding is set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants