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 have a WAVE file with cue points. One of them has the label "Marker 01 abcäöüß". Yet when I call listCuePoints(), the corresponding label string is "Marker 01 abcä�ö�ü�ß�".
The reason for this is that the method WaveFile.readZSTR_ tries to convert the string byte by byte, which gives wrong results for multi-byte UTF-8 code points.
I found an easy fix. Given that this project is currently unmaintained, I'm not opening a PR. Instead, here's a small snippet of code that patches the bug at runtime:
I have a WAVE file with cue points. One of them has the label "Marker 01 abcäöüß". Yet when I call
listCuePoints()
, the corresponding label string is "Marker 01 abcä�ö�ü�ß�".The reason for this is that the method
WaveFile.readZSTR_
tries to convert the string byte by byte, which gives wrong results for multi-byte UTF-8 code points.I found an easy fix. Given that this project is currently unmaintained, I'm not opening a PR. Instead, here's a small snippet of code that patches the bug at runtime:
The text was updated successfully, but these errors were encountered: