[mapguide-internals] MapGuide RFC 18 - Localization

Bruce Dechant bruce.dechant at autodesk.com
Wed Mar 7 14:01:05 EST 2007


Steve,

Date/time/currency formatting will use the locale specified. Numbers
will continue to use the "C" locale internally as they have been.

Thanks,
Bruce

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Steve
Dang
Sent: March 7, 2007 11:58 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] MapGuide RFC 18 - Localization

Hi Bruce,

I assume this RFC includes some mechanism to switch from user locale to
C locale and vice versa, so that date/time/number/currency formatting
(e.g. MgUtil::StringToDouble, etc.) continues to work.

Thanks,
Steve.

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Bruce
Dechant
Sent: Wednesday, March 07, 2007 11:38 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] MapGuide RFC 18 - Localization

Thanks Trevor.

I'll update the RFC to reflect that the locale is platform specific and
does differ between Windows and Linux.

Bruce

-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Trevor
Wekel
Sent: March 7, 2007 11:31 AM
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] MapGuide RFC 18 - Localization

Hi Bruce,

We also have to be careful with locale on Linux.  We may need to modify
the MG_WCHAR_TO_CHAR macro to switch from wchar_t* to localized text.
On Linux, we currently assume the codepage is unicode compliant and
convert to UTF-8 text.  So we may need to use iconv to do the codepage
conversion on Linux.  Also the locale string convention is a little
different on Linux.

http://linux.about.com/library/cmd/blcmdl3_setlocale.htm

Here's a few examples of Linux locale strings:

en_US
en_US.iso88591
en_US.iso885915
en_US.utf8
en_ZA
en_ZA.iso88591

Thanks,
Trevor




-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Bruce
Dechant
Sent: Wednesday, March 07, 2007 11:08 AM
To: MapGuide Internals Mail List
Subject: [mapguide-internals] MapGuide RFC 18 - Localization

The draft RFC 18 specification is now ready for review:

 

http://trac.osgeo.org/mapguide/wiki/MapGuideRfc18

 

Please post any comments to this mailing list.

 

Thanks,

Bruce Dechant

 

 

 

_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals

_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals

_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals

_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals



More information about the mapguide-internals mailing list