ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
Web Text Encoding
       ÔªÔò
Decode           Transfer                              Encode




                                                        text
browser                              Web Server
                                                       editor
          Content-Type: charset=
                                                       save as ...
                                     Default charset

                        html


                  <meta charset=¡±¡±
Ãû´Ê

? content-type
? charset
? encoding
? escape
Html

? httpÍ·²¿µÄcontent-type > html meta ±êÇ©
  > Á´½Óµ½Íⲿ×ÊÔ´±êÇ©µÄcharsetÊôÐÔ

? ÏÔʾ×Ö·û£ºÔ­×Ö·û×Ö·û, char reference,
  html entity (€   &#8364;   &euro;)
url, form

? url: ASCII only, Percent encoding
? form submit
? ajax submit
Javascript

? String.fromCharCode: ͨ¹ýunicodeÊýÖµµÃ
  µ½¶ÔÓ¦×Ö·û

? charCodeAt£ºµÃµ½×Ö·ûunicodeÊýÖµ
? escape, encodeURI, encodeURIComponent
alipay
?   page, uisvr gbk, why gbk?

?   js css utf-8

?   ajax utf-8

?   sofa

?   login goto
?   ä¯ÀÀÆ÷ÔÚµØÖ·À¸ÊäÈëÖÐ
    ÎIJÎÊý

?   µ÷ÊÔ¹¤¾ß
Web encoding ÔªÔò

More Related Content

Web encoding ÔªÔò