Hello Andrea,

when I use the sample request page of geoserver following occurs:

When I request the features using the Post-Request with UTF-8 encoding of the
Request-Body I get no result. When I use ISO-8859-15 encoding I get the
correct Result.

So changing the encoding on client-side could solve the problem for the
Post-Request.

For the Get-Request I get the same result.
When I change the encoding of the URL from UTF-8 to ISO-8859-15 I recieve the
correct result.

- Tim

-----Ursprüngliche Nachricht-----
Von: Andrea Aime [mailto:[EMAIL PROTECTED]
Gesendet: Samstag, 30. Juni 2007 14:55
An: Tim Englich
Cc: [email protected]
Betreff: Re: [Geotools-gt2-users] WFS Filter Problems using Umlauts


Tim Englich ha scritto:
> Hello,
> 
> I have detected a problem querying the Geoserver using the WFS-Plugin.
> When I use a Filter including german umlauts like ä,ö,ü,ß in the literals I
> got no Data.
> When I take a look in the Logfiles of Geoserver I saw that the umlauts were
> not be parsed correctly by geoserver.

Tim, what happens if you issue the same request from the Geoserver
sample request page? Does it work fine? Just want to make sure the 
trouble lies on the client side.

> I think the Problem is the encoding that ist used by the XML of the
> Post-Request and the encoding that is used to encode the 
> Get-Request (both UTF-8) that is created by GeoTools.
> 
> When I inspect the code I saw that the encoding is written fixed into the
> Code.
> Might a change of the encoding solve the problems I have detected?

Hmm... UTF-8 covers most european languages afaik, it's just that
some chars need to be expressed with two or more bytes.
That said, I may be wrong, since I'm no i18n expert.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to