RE [mapserver-users] Problem using FILTER when the value begins with i

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Mon Aug 22 13:58:01 EDT 2011


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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110822/0911f407/attachment.html


More information about the mapserver-users mailing list