1
Discussion - Drivers / FT_GetDeviceInfoList non-ASCII serial problem
« on: November 14, 2022, 01:47:51 pm »
we have encountered a problem with libftd2xx v1.4.27 on linux
FT_GetDeviceInfoList fills FT_DEVICE_LIST_INFO_NODE.SerialNumber with ASCII characters only
any non-ASCII character gets replaced with `?` == 0x3f
problem location best guess is: libusb_get_string_descriptor_ascii() at libusb included within driver package
same problem is with FT_GetDeviceInfo
while the same code works well on windows: serial number is returned correctly
can you please give a hint: how to retreive serial number value without any non-ASCII replacement?
FT_GetDeviceInfoList fills FT_DEVICE_LIST_INFO_NODE.SerialNumber with ASCII characters only
any non-ASCII character gets replaced with `?` == 0x3f
problem location best guess is: libusb_get_string_descriptor_ascii() at libusb included within driver package
same problem is with FT_GetDeviceInfo
while the same code works well on windows: serial number is returned correctly
can you please give a hint: how to retreive serial number value without any non-ASCII replacement?