[
https://issues.apache.org/jira/browse/JSPWIKI-922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14993419#comment-14993419
]
Christopher Janitschke commented on JSPWIKI-922:
------------------------------------------------
System Info Page does not show any informations about it.
I guess the JVM is using default system encoding, which is UTF-8.´
The issue is caused by the pagename.
If i upload an attachment "Täst.txt" to a page without an "german umlaut" it'll
be upload as "T?st.txt" which leeds into "version -1 does not exist." So i
guess here is another interpretation error.
> java.io.IOException: Upload Files to a Page with german Umlaute
> ---------------------------------------------------------------
>
> Key: JSPWIKI-922
> URL: https://issues.apache.org/jira/browse/JSPWIKI-922
> Project: JSPWiki
> Issue Type: Bug
> Affects Versions: 2.10.1
> Reporter: Christopher Janitschke
>
> I have several pages with german umlaute in the pagename.
> If i try to upload a file to one of these pages i get an exception.
> ---------------------------------------------------------------------
> java.io.IOException: Upload failed because the provider failed: Die
> übergeordnete Seite existiert nicht.
>
> org.apache.wiki.attachment.AttachmentServlet.upload(AttachmentServlet.java:565)
>
> org.apache.wiki.attachment.AttachmentServlet.doPost(AttachmentServlet.java:416)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>
> org.apache.wiki.ui.WikiServletFilter.doFilter(WikiServletFilter.java:177)
> ---------------------------------------------------------------------
> I tried it with UTF-8 and ISO-8859-1.
> For now we rename those pages, but it would be nice if this would work in the
> future.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)