I just moved one of our core apps from Windows+IIS+Coldfusion to Ubuntu+Apache+Lucee. The first big problem is the URI encoding for exotic alphabets.
For example, trying to reach this url
http://www.example.com/ru/Солнцезащитные-очки/saint-laurent/
results in this record in the Apache access.log:
Well, I think that's correctly url-encoded. Then I use a rewrite rule in .htaccess file to get that portion of the url (the cyrillic one) in a url query string parameter (let's say "foo").
Using cflog to dump it, I see in the application log:
/index.cfm?foo=оÑки-длÑ-зÑениÑ&
...which is obviously wrong, because what I need is the original string, in utf-8 cyrillic.
I tried to put URIEncoding parameter in my server.xml tomcat http connector, with no results:
<Connector port="8888" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" />
How can I get my url parameter in UTF-8?
Thank you all