Home > Net >  Byte [] STRP=System. Text. Encoding. GetEncoding (" gb2312 "). GetBytes (strKey); Conversi
Byte [] STRP=System. Text. Encoding. GetEncoding (" gb2312 "). GetBytes (strKey); Conversi

Time:10-01

String strKey;
StrKey="of the People's Republic of China".
Byte [] STRP=System. Text. Encoding. GetEncoding (" gb2312 "). GetBytes (strKey);//conversion results STRP is asc code? Or what?

CodePudding user response:

RTSP is gb2312 format of byte array

CodePudding user response:

Asc code should be System. Text. Encoding. ASCII. GetBytes
  •  Tags:  
  • C#
  • Related