-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Latin-1 encoding in CSV presents invalid characters #9365
Comments
Hey @jalvesbsolus, Thanks for the report, I have put in a PR that should resolve this. Once reviewed and merged it will be available in a future release. |
Thanks @Joffcom . |
@jalvesbsolus when you say "people can anyone follow up on this" what do you mean? The PR is currently with our nodes team waiting to be reviewed between tasks. Once the code has been reviewed internally I will then merge the PR and when the next release goes out it will be part of that so it could be next Wednesday when we do our regular release unless we do a bug fix release before then. |
@Joffcom "people can anyone follow up on this" means - in this case it would be a "reviewed" |
@jalvesbsolus Ah ok, In that case it will happen whenever someone is available to do it. I know I will pick up reviews between tasks and I suspect the rest of the team is the same. |
@jalvesbsolus it has just been reviewed and merged so it will be in the next release. |
@Joffcom thanks |
Fix got released with |
@janober or @Joffcom problem when updated. I got this error in login: FULL |
Hey @jalvesbsolus, That is likely to be unrelated to this change and possibly related to your system being overloaded at the time. Are you still seeing the issue now? |
Closing this, since the fix was released 2 weeks ago. |
The Encoding option only appears when N8N_DEFAULT_BINARY_DATA_MODE=default . I don't know if this is the expected behavior. |
@Joffcom or @janober one question. How to identify the file's encoding automatically, is there any way? I try with node "code" and lang Pyhton
This is work in N8N_DEFAULT_BINARY_DATA_MODE=default but in N8N_DEFAULT_BINARY_DATA_MODE=filesystem not |
@souzagaabriel I don't have this problem |
Bug Description
When using the flag N8N_DEFAULT_BINARY_DATA_MODE=filesystem to read a 'csv' file with the 'raw data' option set to true and 'Read As String' set to false, characters such as accents appear invalid when use latin-1 encoding.
Attention: I specify the options used for a reason - when N8N_DEFAULT_BINARY_DATA_MODE=default works correctly, the issue arises with N8N_DEFAULT_BINARY_DATA_MODE=filesystem.
I have already tried with 'Read As String' set to true (which works for UTF-8) but it doesn't work either.
To Reproduce
Expected behavior
Finally, I use N8N_DEFAULT_BINARY_DATA_MODE=filesystem with CSV encoding latin-1, utf-8, and utf-8 with BOM (these last two already work).
Operating System
centos
n8n Version
1.39.1
Node.js Version
v18.19.1
Database
MySQL
Execution mode
own (deprecated)
The text was updated successfully, but these errors were encountered: