DescriptionTop-level domain-based default encoding
Default text encoding is determined based on the top
level domain (*.jp, *.uk, etc) for the pages missing
encoding information. Used Chromium's resource
(components/strings/components_locale_settings_*.xtb) and
Android system locale list for { TLD : encoding } mapping.
Mapping for countries whose legacy, default encoding is
not obvious (ge-Georgian, id-Indonesian, etc) are not
included. They are likely to be UTF-8, handled by
UTF-8 detector to be introduced soon.
BUG=583564
Committed: https://crrev.com/5146788484915fc4e364a330d3a948ed7c03cd8f
Cr-Commit-Position: refs/heads/master@{#382963}
Patch Set 1 #
Total comments: 14
Patch Set 2 : addressed comments #Patch Set 3 : fixed component build error #
Total comments: 2
Patch Set 4 : addressed comments #
Total comments: 2
Patch Set 5 : #Patch Set 6 : added the test back #Patch Set 7 : rebased #
Messages
Total messages: 23 (7 generated)
|