Reputation: 6342
In Wicket, I am trying to include the text "frāctus m (feminine frācta, neuter frāctum)," in a webpage which is simply pulled from a static text file with the correct encoding (UTF-8, saved from Eclipse). When rendered in the browser, it displays "frÄ�ctus m (feminine frÄ�cta, neuter frÄ�ctum)." Is there a fix for how the rendering is encoded? I added <?xml version="1.0" encoding="UTF-8"?>
to my main "template" page (from which the others inherit) but this didn't help.
Upvotes: 2
Views: 2755
Reputation: 8471
You should be able to change all of the ā
(Latin small letter a with macron) to ā
and they should display properly, apparently Wicket is still determining how to handle character encoding.
EDIT
You might want to also take a look at http://wiki.apache.org/tomcat/FAQ/CharacterEncoding and ensure that the server is properly setup.
Upvotes: 2