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

Swap encoding to utf-8 #179

Open
famosab opened this issue Sep 4, 2024 · 0 comments
Open

Swap encoding to utf-8 #179

famosab opened this issue Sep 4, 2024 · 0 comments

Comments

@famosab
Copy link

famosab commented Sep 4, 2024

data = codecs.latin_1_encode(data)[0]

I ran into errors when using a tool that uses vcfpy (genotype annotator).

UnicodeEncodeError: 'latin-1' codec can't encode character '\ufffd' in position 3812: ordinal not in range(256)

I was wondering if there is a reason why latin-1 is used instead of utf-8. Or if the encoding could be changed.

Thankful for any hints / pointers.

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

1 participant