-
Notifications
You must be signed in to change notification settings - Fork 196
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
Vorbisfile fails to Open A Unicode String Filename (Windows) #31
Comments
VorbisFile uses UTF-8 Unicode, not Windows' UTF-16. |
@erikd True. Its utf-16. Miss communication on my part. |
I maintain another library much like Vorbis. To address this issue, Windows users convert the UTF-`6 file name to UTF-8 before passing it to my library. I don't program on Windows so I have no idea how this is done. |
@erikd I had tried doing it before but it doesn't work. I pass in const char * from a method that converts wchar_t* to char* it returns an error. The other codecs (opus/flac ) works fine. So I think there must be an issue with that |
On these lines https://github.com/xiph/vorbis/blob/master/lib/vorbisfile.c#L1009-L1017. Had to add an additional method on windows.
The text was updated successfully, but these errors were encountered: