Web encoding

6,004 views
5,949 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
6,004
On SlideShare
0
From Embeds
0
Number of Embeds
5,139
Actions
Shares
0
Downloads
13
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Web encoding

    1. 1. Web Text Encoding
    2. 2. Decode Transfer Encode textbrowser Web Server editor Content-Type: charset= save as ... Default charset html <meta charset=””
    3. 3. • content-type• charset• encoding• escape
    4. 4. Html• http content-type > html meta > charset• , char reference, html entity (€ € &euro;)
    5. 5. url, form• url: ASCII only, Percent encoding• form submit• ajax submit
    6. 6. Javascript• String.fromCharCode: unicode• charCodeAt unicode• escape, encodeURI, encodeURIComponent
    7. 7. alipay• page, uisvr gbk, why gbk?• js css utf-8• ajax utf-8• sofa• login goto
    8. 8. ••

    ×