Replies: 2 comments 5 replies
-
Dear pyedflib developers and users, |
Beta Was this translation helpful? Give feedback.
-
I'm experiencing problems with Japanese characters in EDF+ annotations and I've found two issues:
def _convert_string(self, s):
if isinstance(s, bytes):
try:
return s.decode("utf_8", "strict") # Prioritize UTF-8
except UnicodeDecodeError:
return s.decode("latin1", errors="replace") # Fallback
else:
return s
It would be very helpful if you could fix these. |
Beta Was this translation helpful? Give feedback.
-
👋 Welcome!
We’re using Discussions as a place to connect with other members of our community. We hope that you:
build together 💪.
To get started, comment below with an introduction of yourself and tell us about what you do with this community.
Beta Was this translation helpful? Give feedback.
All reactions