Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The reason browsers' charset autodetection works differently locally is likely because HTTP standard specifies Latin1 (ISO-8859-1) as the default encoding (at least in 1.1).


Or server sends explicit charset in HTTP header (`Content-Type: text/html; charset=UTF-8`), so meta element override is not needed at all. Naturally, there is no such header present in file:///.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: