flipswitchingmonkey / FlexASIO_GUI

Simple configuration GUI for FlexASIO
MIT License
350 stars 26 forks source link

Unicode devices name encoding issue #30

Closed yuna0x0 closed 2 years ago

yuna0x0 commented 2 years ago

Related to #7.

The GUI does not handle the device with Unicode name correctly. It is resulting in a corrupted config file.

The input device name should be 麥克風 (2- USB Audio Device). Output should be 喇叭 (2- USB Audio Device). These texts are Chinese characters.

image

yuna0x0 commented 2 years ago

It's a Windows code page conversion issue. I have solved it by enabling system-wide UTF-8 support (beta) in Windows 11.

image image

flipswitchingmonkey commented 2 years ago

Thanks for the info, very interesting!

dechamps commented 2 years ago

It's worth noting that in theory you shouldn't have to do this. This is still a bug in FlexASIO GUI. Most likely it has something to do with something somewhere in FlexASIO GUI using codepage-dependent ("ANSI") Windows APIs instead of Unicode (UTF-16) APIs. This would explain why Chinese characters are not being handled correctly on a system configured to use a western code page.