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

error open xml #1894

Open
dennyhalim opened this issue Oct 8, 2024 · 4 comments
Open

error open xml #1894

dennyhalim opened this issue Oct 8, 2024 · 4 comments

Comments

@dennyhalim
Copy link

i got an xml from exported scheduled task.
litexl will not open this file. it said 'the file is not displayed because it is either binary or uses unsupported encoding.'
when i click open anyway, it gives 'an internal error occured in a critical part of the application.'

@Guldoman
Copy link
Member

Guldoman commented Oct 8, 2024

Could you share the file? What OS are you using?

@takase1121
Copy link
Member

If the file is generated by Windows, it might be UTF-16 with BOM. Lite XL only supports UTF-8.

@dennyhalim
Copy link
Author

sorry just got back.
i just check the file it looks like utf16, the first line is this
<?xml version="1.0" encoding="UTF-16"?>

i really not very understand how the technical code works, but why not just edit it as regular text?

thanks for the great app.

@takase1121
Copy link
Member

sorry just got back. i just check the file it looks like utf16, the first line is this <?xml version="1.0" encoding="UTF-16"?>

i really not very understand how the technical code works, but why not just edit it as regular text?

thanks for the great app.

UTF-8 uses 1-4 bytes to represent text, while UTF-16 uses 2 bytes to represent text. The way they store text are fundamentally different, and we chose to only support UTF-8 for simplicity.

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

3 participants