I have a setup that uses Oracle database->GeoServer->OpenLayers->my JavaScript.
I use the UTF-8 character set in GeoServer and the JavaScript layers.
The Oracle instance is configured to use WIN1252 (NLS_CHARACTERSET=WE8MSWIN1252)
.
So, when I make a request from the JavaScript with the CQL_FILTER
with characters such as ç, à, ..
I get no results from the database because of the encoding.
What is the best way to deal with this problem of multiple character sets? My opinion is changing the database charset to UTF-8, but unfortunately is to risky, because I'm not the only one using it.
Any suggestions?
Best Answer
Configuring Tomcat's URI encoding to UTF-8 solved the problem.