Closed Bug 565267 Opened 15 years ago Closed 4 years ago

Consider optimizing out unixcharset.properties on Linux

Categories

(Core :: Internationalization, enhancement)

All
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: hsivonen, Assigned: smontagu)

Details

(Keywords: memory-footprint)

It seems that most data in http://mxr-test.konigsberg.mozilla.org/mozilla-central/source/intl/uconv/src/unixcharset.properties is for non-Linux Unix variants and that Linux distros these days default to UTF-8 and when Linux is configured to use a non-UTF-8 system encoding, the encoding is baked into the locale name. Thus, in the interest of footprint, I suggest optimizing out ConvertLocaleToCharsetUsingDeprecatedConfig() and unixcharset.properties on Linux.
since most modern UNIX supports HAVE_LANGINFO_CODESET, we don't usually use unixcharset.properies on Linux that we supports.

The file no longer exists.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.