<br><font size=2 face="sans-serif">UPDATE...</font>
<br><font size=2 face="sans-serif">escaping &quot;i works</font>
<br><font size=2 face="sans-serif">FILTER &quot;code= '\Inactive'&quot;
</font>
<br>
<p><font size=2 face="sans-serif">If someone can explain I would appreciate.</font>
<p><font size=2 face="sans-serif">thanks</font>
<p><font size=2 face="sans-serif">Steve</font>
<p>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Steve.Toutant@inspq.qc.ca@lists.osgeo.org</b>
</font>
<br><font size=1 face="sans-serif">Envoyé par : mapserver-users-bounces@lists.osgeo.org</font>
<p><font size=1 face="sans-serif">2011-08-22 13:47</font>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">A</font></div>
<td><font size=1 face="sans-serif">mapserver-users@lists.osgeo.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Objet</font></div>
<td><font size=1 face="sans-serif">[mapserver-users] Problem using FILTER
when the value begins with i</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
I have a strange behavior when using a FILTER where the values begin with
'i, I have to double my &quot;i&quot; to make it work!</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Example:</font><font size=3> </font><font size=2 face="sans-serif"><br>
This doesn't work</font><font size=3> </font><font size=2 face="sans-serif"><br>
FILTER &quot;code= 'Inactive'&quot;<br>
In the mapserver.log I can see that &quot;i&quot; disappear, I get in the
query ... (code = 'nactive'), so no data are returns</font><font size=3>
<br>
</font><font size=2 face="sans-serif"><br>
Using double &quot;I&quot; it works</font><font size=3> </font><font size=2 face="sans-serif"><br>
FILTER &quot;code= 'IInactive'&quot;</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
It seems that using 'I' or &quot;i&quot; mean something...and that changes
the encoding of the string or something.</font><font size=3> </font><font size=2 face="sans-serif"><br>
I'm using mapserver 6.0.1 on a windows 2008 64bits server. The data are
in a postgis table.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
This mapfile was working well with mapserver 5.6 on windows 2003 32bits
server.</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
Anyone have seen this before?</font><font size=3> </font><font size=2 face="sans-serif"><br>
thanks for your help,</font><font size=3> </font><font size=2 face="sans-serif"><br>
Steve</font><font size=3> <br>
<br>
</font><tt><font size=2>_______________________________________________<br>
mapserver-users mailing list<br>
mapserver-users@lists.osgeo.org<br>
http://lists.osgeo.org/mailman/listinfo/mapserver-users<br>
</font></tt>
<br>
<br>
<br>