Closed Bug 118814 Opened 23 years ago Closed 4 years ago

add regex capability to unixcharset.property

Categories

(Core :: Internationalization, defect)

x86
FreeBSD
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ftang, Assigned: marcus)

Details

(Keywords: intl)

currently, we need to specify the EXACT locale name in the unixcharset.property file for FreeBSD or other Unix which DO NOT support nl_langinfo. It will be nice if we can have RegEx capability in it. So... instead of +locale.all.da_DK.ISO_8859-1=ISO-8859-1 +locale.all.de_AT.ISO_8859-1=ISO-8859-1 +locale.all.de_CH.ISO_8859-1=ISO-8859-1 .... we could have +locale.match.*ISO[-]?8859[-]?1=ISO-8859-1 assign to marcus@marcuscom.com since he care about FreeBSD. cc shanjian and Roland.Mainz@informatik.med.uni-giessen.de Roland.Mainz@informatik.med.uni-giessen.de seems familar with RegEx, maybe he can help this issue :) this way can we reduce the size of unixcharset.property and make it smaller. We should use different base key (not locale.all, but somthing like locale.match) for regex entry.
and the regex entry should be apply AFTER It cannot find the exact mapping
Keywords: intl
QA Contact: ruixu → i18n
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.