-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ramez,
Ramez Ghazzaoui wrote:
> Thank you guys. Sounds like I need to either write or find a method that
> converts strings to UTF-8. I'll try this tomorrow.
Generally, java.net.URLEncoder.encode(yourString, "UTF-8") will do this
for you quite well.
Thank you guys. Sounds like I need to either write or find a method that
converts strings to UTF-8. I'll try this tomorrow.
BTW I am not using HTML forms, just building URIs dynamically and
sticking them into anchors. That's where the GET part comes
into play :)
Cheers,
-Ramez
Markus Schö
Ramez Ghazzaoui wrote:
> Today I realized that this very solution has broken the Java
> request.getParameter() method in JSP. Now, with the URIEncoding set to
> UTF-8, this Java method is misinterpreting non-English characters. When
> I invoke from the browser the following address:
> http://local
Ramez Ghazzaoui wrote:
> Is there a way to make French characters work both in Directory Listings
> and in GET parameters?
All your pages need to include the following at the start:
<%@ page pageEncoding="UTF-8" %>
The correct UTF-8 encoding for your request is:
http://localhost/main.jsp?path=ol%
Hi,
Back in May 2006, I had trouble Configuring Tomcat HTTP server to
generate proper links for non-English file names in a Directory Listing.
Mr. Mark Thomas proposed a solution that worked: He told me to set
URIEncoding="UTF-8" in the connector (presumably in server.xml).
This fixed the Di