Home > database >  Byte and String conversions
Byte and String conversions

Time:09-17

How will the inside of the Byte array value, combined into a string?
I used to convert the data in the byte for blob, coding for EncodingANSI! , but some words correctly, some is not correct,
Such as:
Byte byte10 []={169223169232222187}
String STR
STR=blob (byte10 EncodingANSI!)
Messagebox (STR, STR)//show the results of Chinese characters is not my imagination,

Solving,


CodePudding user response:

You can try to show the return string into a byte [], see what the result is to push against byte [] should be how to convert a string

CodePudding user response:

STR=string (blob (byte10), EncodingANSI!)
  • Related