You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We currently only parse UTF-8 files. We should allow different encoding using a flag.
Describe the solution you'd like
A --encoding parameter sets the encoding the files are using.
We could use encoding_rs to read the file.
Describe alternatives you've considered
We could try to use encoding detection and automatically detect what each file was, but I feel this might be overkill.
Additional context
Many Windows-based files would be using the standard Windows encoding in EU it is CP-1252
This ensures we can parse these files without converting them to UTF-8
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
We currently only parse UTF-8 files. We should allow different encoding using a flag.
Describe the solution you'd like
A --encoding parameter sets the encoding the files are using.
We could use encoding_rs to read the file.
Describe alternatives you've considered
We could try to use encoding detection and automatically detect what each file was, but I feel this might be overkill.
Additional context
Many Windows-based files would be using the standard Windows encoding in EU it is CP-1252
This ensures we can parse these files without converting them to UTF-8
The text was updated successfully, but these errors were encountered: