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

How to split a file that uses encoding "ISO-8859-1" #94

Open
IsraMasterOne opened this issue May 4, 2024 · 1 comment
Open

How to split a file that uses encoding "ISO-8859-1" #94

IsraMasterOne opened this issue May 4, 2024 · 1 comment
Assignees

Comments

@IsraMasterOne
Copy link

U have an XML file that uses "ISO-8859-1" encoding. When I try to use the tool says that wrong encodec for the obvious reason. How to configure so the split tool considers that the file its in a different encoding?

@lbellonda lbellonda self-assigned this May 5, 2024
@lbellonda
Copy link
Owner

lbellonda commented May 5, 2024

Hello, the split module tries to get the source file encoding from the file itself and writes the output in the same encoding.
You need to place an XML declaration at the beginning of the file:
<?xml version="1.0" encoding="ISO-8859-1"?>

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