You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to do b"abc".decode("utf-8") in no python mode.
My use case is that h5py has decided to return text data as bytes. I would like to be able to quickly decode text data stored in structured arrays without having the loop be in python. I'm sure there are more common use cases for this as well.
Feature request
I would like to do
b"abc".decode("utf-8")
in no python mode.My use case is that h5py has decided to return text data as bytes. I would like to be able to quickly decode text data stored in structured arrays without having the loop be in python. I'm sure there are more common use cases for this as well.
I would hope that cpython's utf-8 decoding (https://github.com/python/cpython/blob/master/Objects/stringlib/codecs.h) could be reused here, but don't really know enough about how unicode strings work to comment more.
The text was updated successfully, but these errors were encountered: