We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a07489f + df4a247 commit e28687dCopy full SHA for e28687d
Python/tdw/output_data.py
@@ -1944,7 +1944,7 @@ def __init__(self, b: bytes):
1944
lengths: np.ndarray = np.frombuffer(b[12:offset], dtype=np.int32)
1945
self._ids: List[str] = list()
1946
for length in lengths:
1947
- self._ids.append(b[offset: offset + length].decode('ascii'))
+ self._ids.append(b[offset: offset + length].decode('utf8'))
1948
offset += length
1949
self._types: np.ndarray = np.frombuffer(b[offset:], dtype=np.uint8)
1950
0 commit comments