Closed Bug 518809 Opened 15 years ago Closed 6 years ago

Review unix system locale logic

Categories

(Core :: Internationalization, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1337069

People

(Reporter: Pike, Assigned: smontagu)

Details

Can we get a ground up check on the logic on how to get from posix locale to our locale codes?

AFAICT, the code for that is in nsPosixLocale.cpp, and hasn't been touched since 2003, http://bonsai.mozilla.org/cvslog.cgi?file=mozilla/intl/locale/src/unix/nsPosixLocale.cpp&rev=HEAD&mark=1.26

In particular I'd be interested to learn how much we pay for dropping the extra bit, and if we should do something constructive about that. Reading the code, I don't understand how we treat codeset and modifier, and if we're doing it right for today's locale codes.

I didn't find a list of locale codes on the linux side that we could use to verify our algorithm. Maybe one of the distro guys can help out with that.
We did this in bug 1337069.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.