Comment #4 on issue 131023 by
js...@chromium.org: strings are garbled in
To clarify: To make NPAPI flash plugin behave the same way on CrOS as on
Windows/Linux/Mac, we need to tweak the way CrOS sets locale-related
environment variable. Adobe's NPAPI flash plugin on Linux (and CrOS) refers
to LC_ALL, LANG, etc, but none of them is set on CrOS.
However, we don't have to worry about NPAPI flash any more on CrOS. CrOS is
only shipped with PPAPI flash plugin.
So, what needs to do is to make PPAPI flash plugin derive the legacy
character encoding to use from the current OS UI language.
Although the number of flash animations using the legacy char encoding is
dwindling (and ones using Unicode are on the rise), it'll be quite a while
before they go completely go away.
So, it's important to have this implemented for non-Western-European
languages (currently, PPAPI flash plugin assumes windows-1252 that is for
Western European languages).
If we want to take a step further (as a follow-up bug), we can do better by
character encoding autodetection than what Adobe's NPAPI plugin does on
Windows/Mac/Linux. That way, regardless of the UI language, in most cases,
we can view characters ungarbled in flash animations using a legacy
encoding.