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

Greek characters are not decoded correctly #2

Open
dmalzl opened this issue Nov 20, 2023 · 0 comments
Open

Greek characters are not decoded correctly #2

dmalzl opened this issue Nov 20, 2023 · 0 comments

Comments

@dmalzl
Copy link

dmalzl commented Nov 20, 2023

To proceed with my work I quickly just copied the relevant code from your package and adapted it where needed for my problem. In the course of this I noticed that there seems to be a problem with the character encoding in the ARCHS5 file. I basically decode the metadata similar to you by using

[x.decode('utf-8') for x in table[key][:]]

However, some characters are not decoded correctly, specifically this seems to affect greek letters as the examples I encountered until now are the letter mu and the letter beta (but might not be limited to them). I tried several other encodings but was not able to decode it properly. Could you have a look or at least tell me the right encoding?

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