Home > Software engineering >  Vc to grab web pages is UTF8, submit all the text into a question mark?
Vc to grab web pages is UTF8, submit all the text into a question mark?

Time:10-01

Will get back as a result of the Chinese is gibberish, converted to Gb2312 can display properly after
Submitted to the inside of the part in Chinese, however, by caught the discovery after all is the question mark?

CodePudding user response:

For Chinese, no matter the response and request, you need to code, such as convert UTF8 encoding

CodePudding user response:

For computer no noise, only the binary bytes; To the human brain is gibberish, GBK: 0 xb0 0 xa1, Unicode - 16 LE: 0 x4a 0 x55, Unicode - 16 BE: 0 x55 0 x4a, utf-8 8-0 x95 xE5 0 0 x8a

CodePudding user response:

Need to code later submitted URL Encoding?

CodePudding user response:

Basically the code are coding problem
Only needs to be caught, see memory data, the coding is correct.

CodePudding user response:

Agree with all the LS, please transcoding in the post
  • Related