[Mapguide-trac] [mapguide-trac] #2845: FAILED Server Tests - Int32ToLocaleSpecificString ( Util.cpp) versus MgIsLegalUTF8 (ConvertUTF.c)

MapGuide Open Source trac_mapguide at osgeo.org
Mon Jun 6 08:23:51 PDT 2022


#2845: FAILED Server Tests -  Int32ToLocaleSpecificString  ( Util.cpp)  versus
MgIsLegalUTF8 (ConvertUTF.c)
-------------------------------------------------+-------------------------
 Reporter:  pcardinal                            |        Owner:  (none)
     Type:  defect                               |       Status:  new
 Priority:  medium                               |    Milestone:  4.0
Component:  Mapping Service                      |      Version:
 Severity:  minor                                |   Resolution:
 Keywords:  Unbreakable blank space utf-8        |  External ID:
  server test MgIsLegalUTF8                      |
-------------------------------------------------+-------------------------
Comment (by pcardinal):

 In function MgIsLegalUTF8


 With
 {{{
 case 1: if ((*source >= 0x80 && *source < 0xC2) && (*source != 0xA0))
 return false;
 }}}


 Instead of
 {{{
 case 1: if (*source >= 0x80 && *source < 0xC2)  return false;
 }}}


 the test does pass.
-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/2845#comment:2>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list