Steve, a " or ' followed by a i means a string insensitive. Howerver... it should only match the last '. Please, fill a bug and assign it to "aboudreault".
Thanks, Alan On August 22, 2011 01:58:01 pm [email protected] wrote: > UPDATE... > escaping "i works > FILTER "code= '\Inactive'" > > If someone can explain I would appreciate. > thanks > Steve > > > > > [email protected]@lists.osgeo.org > Envoyé par : [email protected] > 2011-08-22 13:47 > > A > [email protected] > cc > > Objet > [mapserver-users] Problem using FILTER when the value begins with i > > > > > > > > > > I have a strange behavior when using a FILTER where the values begin with > 'i, I have to double my "i" to make it work! > Example: > This doesn't work > FILTER "code= 'Inactive'" > In the mapserver.log I can see that "i" disappear, I get in the query ... > (code = 'nactive'), so no data are returns > > Using double "I" it works > FILTER "code= 'IInactive'" > > It seems that using 'I' or "i" mean something...and that changes the > encoding of the string or something. > I'm using mapserver 6.0.1 on a windows 2008 64bits server. The data are in > a postgis table. > > This mapfile was working well with mapserver 5.6 on windows 2003 32bits > server. > > Anyone have seen this before? > thanks for your help, > Steve > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users -- Alan Boudreault Mapgears http://www.mapgears.com _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
