Hi Mario,<div><br></div><div>Thanks for sharing this!</div><div>I remember some issues Anton and I had some time ago, and it seemed that not only Japanese but also other languages had problems with special characters. Didn&#39;t I even write you an email that time?</div>

<div><br></div><div>Well, I think it would be nice to have some &quot;Encoding&quot; tutorial on the main Geoserver website.</div><div>Any idea how to post there?</div><div><br></div><div>Daniel</div><div><br><br><div class="gmail_quote">

2010/10/27 Mario Basa <span dir="ltr">&lt;<a href="mailto:mario.basa@gmail.com">mario.basa@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hello again.<br>
<br>
I was really having problems with a Geoserver WFS request to a PostGIS<br>
(UTF-8) feature that has Japanese parameterName, since &nbsp;it seems that<br>
Japanese characters are always converted to ISO-8559-1 encoding first.<br>
<br>
So this &nbsp;GetFeature request did not work for me:<br>
<br>
<a href="http://localhost:8080/geoserver/wfs?request=GetFeature&amp;typeName=m:census2005&amp;propertyname=%E4%BA%BA%E5%8F%A3%E7%B7%8F%E6%95%B0&amp;maxfeatures=1" target="_blank">http://localhost:8080/geoserver/wfs?request=GetFeature&amp;typeName=m:census2005&amp;propertyname=人口総数&amp;maxfeatures=1</a><br>


<br>
To fix this, I added a URIEncoding=&quot;UTF-8&quot; and<br>
useBodyEncodingForURI=&quot;true&quot; into Tomcat&#39;s conf/server.xml Connector<br>
setting:<br>
<br>
&lt;Connector port=&quot;8080&quot; protocol=&quot;HTTP/1.1&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; connectionTimeout=&quot;20000&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; redirectPort=&quot;8443&quot; URIEncoding=&quot;UTF-8&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; useBodyEncodingForURI=&quot;true&quot; /&gt;<br>
<br>
<br>
and since I am using an ajp proxy, I added both parameters here as well:<br>
<br>
&lt;!-- Define an AJP 1.3 Connector on port 8009 --&gt;<br>
<br>
 &nbsp; &nbsp;&lt;Connector port=&quot;8009&quot; protocol=&quot;AJP/1.3&quot; redirectPort=&quot;8443&quot;<br>
tomcatAuthentification=&quot;false&quot;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;URIEncoding=&quot;UTF-8&quot; useBodyEncodingForURI=&quot;true&quot; /&gt;<br>
<br>
<br>
So now, when I make the same GetFeature request I can now get this:<br>
<br>
&lt;gml:featureMembers&gt;<br>
 &nbsp; &lt;m:census2005 gml:id=&quot;census2005.fid-386b25a0_12bee18cf90_-7ffe&quot;&gt;<br>
 &nbsp; &lt;m:人口総数&gt;202801&lt;/m:人口総数&gt;<br>
 &nbsp; &lt;/m:census2005&gt;<br>
&lt;/gml:featureMembers&gt;<br>
<br>
<br>
<br>
Hope that somebody might find this useful.<br>
<br>
Regards,<br>
<font color="#888888"><br>
Mario.<br>
</font><br>_______________________________________________<br>
geoserver-jp mailing list<br>
<a href="mailto:geoserver-jp@lists.osgeo.org">geoserver-jp@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geoserver-jp" target="_blank">http://lists.osgeo.org/mailman/listinfo/geoserver-jp</a><br>
<br></blockquote></div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br>
</span></div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br>
</span></div><div><span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><br></span></div>--&nbsp;<br>Georepublic UG &amp; Georepublic Japan<br>eMail:&nbsp;<a href="mailto:daniel.kastl@georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">daniel.kastl@georepublic.de</a><br>


Web:&nbsp;<a href="http://georepublic.de" style="color:rgb(66, 99, 171)" target="_blank">http://georepublic.de</a><br><br></span>
<br></div>