html - How does browsers render iframe with different encoding of parent page? -


i have web page encoded in utf-8, need include subpage iframe encoded in gbk.

so wonder how browsers(ie/chrome/ff) render characters of whole page ? browsers treat iframe page standalone page , use own encoding charset ?

thanks !

in general, browser treat iframe page standalone page if being rendered in separate tab or window.

there is, however, issue some versions of internet explorer content of iframe not set encoding through content-type, , picks parent window's encoding on initial load.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -