Folks;
reading through jspwiki.org, I've been in search of a practicable
solution of how to provide my users with the option of uploading files
including German "umlauts" in their names. This is more painful than I
thought, however.
Situation:
-Ubuntu 6.10, configured to use UTF-8 as system-wide default locale.
-tomcat 5.5.20, jdk 1.6.0
-jspwiki.encoding=UTF-8
-browser(Firefox) is configured to use UTF-8 encoding
-Upload.jsp has "charset-UTF-8" set
I tried uploading a file named "Prüflauf.doc" which uploads well, as
well as being displayed with the "right" name" (including the "umlaut")
on the attachments page.
However, as soon as I try to click-open the attachment, I end up with a
404 error and tomcat complaining that
...
The requested resource (Attachment 'MainPrÃFlauf.doc', version -1 does
not exist.) is not available.
...
And, looking at the source code of the "attachments" page, I see a link
like this to open the attachment:
<a class="attachment" href="/JSPWiki/attach/Main/Pr%C3%BCflauf.doc" ...
also without "umlauts". Should this happen having both page-encoding
and browser-charset and everything else set to be UTF-8?
To make things worse, looking into the wiki file system, the attachment
indeed lives in a
Pr%C3%BCflauf.doc-dir/
folder.
Hmmmmm... Can anyone point me a way out of this mess? Where's the
misconfiguration / misbehaviour here? Tomcat? The browser? The OS?
Right now, I'm pretty clueless to be honest...
Thanks in advance and bye,
Kristian
--
Kristian Rink *
http://zimmer428.net *
http://flickr.com/photos/z428/jab:
kawazu@... * icq: 48874445 * fon: ++49 176 2447 2771
"One dreaming alone, it will be only a dream; many dreaming together
is the beginning of a new reality." (Hundertwasser)
_______________________________________________
Jspwiki-users mailing list
Jspwiki-users@...
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users