Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#262 closed defect (fixed)

setlocale with param LC_ALL converts corrupts numerics

Reported by: christoph Owned by: mapbender_dev@…
Priority: blocker Milestone: 2.5 release
Component: i18n Version:
Keywords: Cc: mschulz

Description

For example, setting the locale via setlocale(LC_ALL, ...) corrupts a WMC extent

minx="15,4" etc.

in a de_DE locale.

See http://de.php.net/setlocale for details

If I replace LC_ALL by LC_CTYPE, the translations still work, but the numerics are not converted.

Change History (6)

comment:1 by christoph, 16 years ago

now using this

setlocale(LC_COLLATE, $locale) && setlocale(LC_CTYPE, $locale) && setlocale(LC_TIME, $locale) && setlocale(LC_MESSAGES, $locale)

comment:2 by christoph, 16 years ago

Resolution: fixed
Status: newclosed

comment:3 by christoph, 16 years ago

Cc: mandsch added

comment:4 by christoph, 16 years ago

Cc: mschulz added; mandsch removed

comment:5 by christoph, 16 years ago

I think LC_MESSAGES suffices

comment:6 by christoph, 15 years ago

related to #312

Note: See TracTickets for help on using tickets.