• Like
Web encoding
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Published

 

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
5,866
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
11
Comments
0
Likes
1

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

Transcript

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