Skip to content
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

getDevice() return device's name do not show correctly: "Microsoft ����ӳ���� - Input" #86

Open
jiamliang opened this issue Mar 1, 2023 · 1 comment

Comments

@jiamliang
Copy link

portAudio.getDevices() return as follow:
image

Chinese charicter show correctly with host API "Windows WASAPI" and "Windows WDM-KS", but not with "MME".
please help, thanks a lot!

@jiamliang
Copy link
Author

https://github.com/Streampunk/naudiodon/blob/master/src/naudiodonUtil.cc#L230
need to detect the "Character encoding" of the 'string'.
if the encoding is not UTF8, convert to UTF8.
https://github.com/breezechen/sconv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant