HamApps Support (VK3AMA)
On 25/10/2020 8:25 am, g4wjs wrote:
My head starts hurting every-time I have to start thinking about ANSI, ASCII, UTF-8, Unicode, codepages, multi-byte versus single-byte strings, etc, etc.
With respect to this sound device name problem. The strings returned from enumerating the endpoints are variable-length encoded UTF-8, but it was getting those strings over to JTAlert that was the issue. The AutoIT based string comparison routines of JTAlert were not UTF-8 compatible, combined with legacy XP era winmm.dll calls conspired to bring on a migraine! Its my own fault for clinging onto the old AutoIT code base for so long and trying to be clever integrating .NET code. Code refactoring is currently underway
de Laurie VK3AMA