OK, I think I finally found out what's going on here:
in waveform.c waveOutGetErrorTextA() calls WideCharToMultiByte(CP_ACP,.... with the ANSI codepage. When I change that to CP_UTF8, it works as expected.
Is this fix OK, or does that break anything? Should I send a patch?
Thanks, Julian