What is this encoding?

If I have an HTML page with UTF-8 setup. and then I enter the big5 encoded Chinese characters in the form and submit. What is server side encoding? will automatically convert to UTF-8? Or how does it work? Thanks!

Supplement1: Actually, I'm really not sure why the browser can decide which encoding to use? since encoding was created by IME. for example: the tool I used to enter the Chinese character, right?

supplement2: if everything is the same as what Michael Madsen said in the next answer, how asp.net can handle it, so no matter how I enter the characters in the forms, it will not be corrupted forever, but jsp cannot

+3
source share
2 answers

The browser works with Unicode - when characters are entered there, they are internally stored as Unicode. When a form is submitted, it displays characters in any encoding - usually this is the encoding of the page.

If you are talking about copying / pasting from a Big5 document, then it will already be converted to Unicode when it is pasted into the clipboard - perhaps even when the document is downloaded, depending on your editor.

IME , , IME Unicode Big5, . , , / , .

+3

big5, , . " big5 "? , , , , ?

0

Source: https://habr.com/ru/post/1716693/


All Articles