[mapguide-commits] r10005 - trunk/MgDev/Common/MdfModel
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Fri Nov 4 22:55:36 PDT 2022
Author: jng
Date: 2022-11-04 22:55:34 -0700 (Fri, 04 Nov 2022)
New Revision: 10005
Modified:
trunk/MgDev/Common/MdfModel/ConvertUTF.c
Log:
Make MgIsLegalUTF8 work under French Localization. Patch by Pierre Cardinal.
Fixes #2845
Modified: trunk/MgDev/Common/MdfModel/ConvertUTF.c
===================================================================
--- trunk/MgDev/Common/MdfModel/ConvertUTF.c 2022-11-02 07:37:15 UTC (rev 10004)
+++ trunk/MgDev/Common/MdfModel/ConvertUTF.c 2022-11-05 05:55:34 UTC (rev 10005)
@@ -328,7 +328,7 @@
default: if (a < 0x80) return false;
}
- case 1: if (*source >= 0x80 && *source < 0xC2) return false;
+ case 1: if ((*source >= 0x80 && *source < 0xC2) && (*source != 0xA0)) return false;
}
if (*source > 0xF4) return false;
return true;
More information about the mapguide-commits
mailing list