This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]
TitleMissing extended characters in pagename and when searching
Date15-Dec-2005 09:14:14 EET
containerTomcat 5.0.28
osMac, wXP, w2003
browser_versionIE and Firefoox (se lågkaloridiet)
xSubmit report
java_versionjava 1.4.2 (mac)

JspWiki cleans pagenames and searchterms from non-ascii letters.

So the pagename "aåäöa" will show up as "aa" as pagename.

When looking at some url's I see the letters in question URLEncoded (%C3%B5 instead of ö).

Best regards Roland

Well, they *should* be URLEncoded. They work quite nicely on this site, and on other sites as well. Perhaps the JDBCPageProvider is broken?

-- JanneJalkanen

Using JSPWiki 2.2.28 and JDBCPageProvider AND UTF-8 (the recommended setting for JSPWiki) non-ascii letters work fine in our installation. They show normally when referencing a page and in the page header, and are normally (unencoded) stored in the database. However, as Janne says, the url must be encoded. IE6 does allow to manually enter the path non-encoded, encoding it behind the scenes - convenient but JSPWiki should not do this.

So, there is definitely no problem with the JDBC driver itself, but we use SQL Server with ntext/nvarchar fields - using some other non-unicode enabled database would be expected to cause the problems you describe. Can you manually add a page with such names to the database?

-- Gregor

I tried to manually write the URLEncoded characters into the url and the Editpage cleans them away so I don't think it touched the database? I'm going to try to test to put an utf-8 filter before the wiki.

-- Roland (the submitter of this bug)

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 15-Dec-2005 15:13 by