Home > database >  PB9, Winsock interface, access to the device to send data, GBK code decoding problems
PB9, Winsock interface, access to the device to send data, GBK code decoding problems

Time:02-19

PB9, Winsock. PBL interface, data access to the instrument, and BLOB of GBK code can't String () get out

The instrument has sent more than 900 characters

At first String directly (BLOB) can only get the first one to start operator

FromAnsi (BLOB) is invalid, what all not return

FromUnicode (BLOB) is invalid, what all not return

Upgrade to 12.5
String (BLOB, encodingansi!) Is nothing return

The other instruments and programs written in c #, claims to be GBK code

Do have data received from inside the BLOB, but unable to String () out

Winxp system in Chinese

Can use third-party tools, normal receiving data, so I think it has nothing to do with WinXP should

GBK check a lot of information, it is not encoded, but a character set,,,,,,,, still have some original ideas, and there is no the