Fix Chrome issue with unwanted horizontal scrollbar (#1488851)
Improve charset detection by prioritizing charset according to user language (#1485669)