RE [mapserver-users] Problem using FILTER when the value begins with i
Alan Boudreault
aboudreault at mapgears.com
Mon Aug 22 11:11:33 PDT 2011
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 Steve.Toutant at inspq.qc.ca wrote:
> UPDATE...
> escaping "i works
> FILTER "code= '\Inactive'"
>
> If someone can explain I would appreciate.
> thanks
> Steve
>
>
>
>
> Steve.Toutant at inspq.qc.ca@lists.osgeo.org
> Envoyé par : mapserver-users-bounces at lists.osgeo.org
> 2011-08-22 13:47
>
> A
> mapserver-users at lists.osgeo.org
> 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
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Alan Boudreault
Mapgears
http://www.mapgears.com
More information about the MapServer-users
mailing list