Home > database >  Help: character encoding conversion problem of pb novice (pb)
Help: character encoding conversion problem of pb novice (pb)

Time:09-23

In the development of IC card reader interfaces, found a problem, at the time of card reader password authentication is required, has been failed!!!!!!!!!!!!!!!!!!!!! I began to fret.
Among pB9 no problem, but to upgrade to the PB11.
Then I tested under
String STR
STR=char (160) + charA (161) + charA (162) + charA (163) + charA (164) + charA (165)
MessageBox (' STR)
The results shown in PB11 result is?" ¢on problem ", shown in PB9 RMB is the result of the "牎 iii ぅ". Suddenly want to listen to the old employees say PB11 is unicode, PB9 is AnsiString. It didn't find the problem. Then how to solve specific not. Please tell how to solve. Online said use ToAnsi (), and then return Blod type, then should be how to deal with, I would not have

CodePudding user response:

PB9 available in the characters function, the PB10 above, should be in function followed by A
When interacting with external devices, the original PB9 usable, note with a toansi ().
  • Related