Skip to content

Comments

Bugfix: utf-8 compatibility for txt files#50

Merged
alessandrobelli merged 3 commits intomainfrom
bugfix-utf8-encoding
Jun 20, 2024
Merged

Bugfix: utf-8 compatibility for txt files#50
alessandrobelli merged 3 commits intomainfrom
bugfix-utf8-encoding

Conversation

@alessandrobelli
Copy link
Contributor

With this we enable the conversion from different encodings to utf-8 to correctly show characters in our preparation and coding editor.
Attached you can find a danish encoded text in ISO-8859-1 (also known as Latin-1) and a chinese text encoded in Chinese GB2312.

I have no idea what those texts says 😄

Fix #49

cinese text.txt
latin-1-encoding.txt

First we try to detect the encoding of the txt file, then we perform the conversion from that encoding to utf8
@alessandrobelli alessandrobelli added the bug Something isn't working label Jun 20, 2024
@alessandrobelli alessandrobelli self-assigned this Jun 20, 2024
jankapunkt
jankapunkt previously approved these changes Jun 20, 2024
refactor workflow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing special characters during txt import

2 participants