Closed changuoqiang closed 7 years ago
unicode on linux/unixiODBC return things like this b'\xe5\x00\x9b\x00\xbe\x00\xe5\x00\xb9\x00\x85\x00\xe5\x00\x8f\x00\xb7\x00\x00\x00' it's really utf-8, but every byte padded with zero and terminated by '\x00\x00' it's a unixODBC's mistake.
unicode on linux/unixiODBC return things like this b'\xe5\x00\x9b\x00\xbe\x00\xe5\x00\xb9\x00\x85\x00\xe5\x00\x8f\x00\xb7\x00\x00\x00' it's really utf-8, but every byte padded with zero and terminated by '\x00\x00' it's a unixODBC's mistake.