[mapguide-trac] #80: WideCharToMultiByte not respecting regional settings?

MapGuide Open Source trac_mapguide at osgeo.org
Thu Jun 14 07:50:43 EDT 2007


#80: WideCharToMultiByte not respecting regional settings?
---------------------+------------------------------------------------------
 Reporter:  jbirch   |         Owner:        
     Type:  defect   |        Status:  new   
 Priority:  medium   |     Milestone:        
Component:  General  |       Version:  1.2.0 
 Severity:  major    |    Resolution:        
 Keywords:           |   External_id:  929605
---------------------+------------------------------------------------------
Changes (by mbeckman):

  * version:  1.1.0 => 1.2.0

Comment:

 I get the same error in Version 1.2.0.1704 on a Swedish OS, but I can't
 fix it by changing the group separator into ','. The only thing that makes
 it possible for me to use printlayouts is to disable the scale bar.

  Error: Invalid argument(s):
                 [1] = "const string&"
         The string is invalid and cannot be converted.
  StackTrace:
   - MgMappingServiceHandler.ProcessOperation line 81 file
 c:\build_bond_area\mapguide_open_source_v1.2\build_17.4\mgdev\server\src\services\mapping\MappingServiceHandler.cpp
   - MgOpGeneratePlot.Execute line 188 file
 c:\build_bond_area\mapguide_open_source_v1.2\build_17.4\mgdev\server\src\services\mapping\OpGeneratePlot.cpp
   - MgServerMappingService.GeneratePlot line 831 file
 c:\build_bond_area\mapguide_open_source_v1.2\build_17.4\mgdev\server\src\services\mapping\ServerMappingService.cpp
   - MgServerMappingService.GenerateMultiPlot line 1229 file
 c:\build_bond_area\mapguide_open_source_v1.2\build_17.4\mgdev\server\src\services\mapping\ServerMappingService.cpp
   - MgUtil.WideCharToMultiByte line 297 file
 c:\build_bond_area\mapguide_open_source_v1.2\build_17.4\mgdev\common\foundation\System/Util.cpp
 Invalid argument(s):
         [1] = "const string&"
 The string is invalid and cannot be converted.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/80#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list