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

Encode to mac_latin2 #2

Open
cbenhagen opened this issue Oct 19, 2023 · 1 comment
Open

Encode to mac_latin2 #2

cbenhagen opened this issue Oct 19, 2023 · 1 comment

Comments

@cbenhagen
Copy link

In case you want to keep the ä / ö / ü intact, you might want to encode to mac_latin2.

data.encode("mac_latin2", "replace")
@Grubersky
Copy link
Owner

Great input, thanks! Appreciate it!

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