I tried getMarkupSettings().setDefaultMarkupEncoding( "ISO-8859-1" ); and
-Dfile.encoding=ISO-8859-1 but they didn't work.

Instead I used :
getRequestCycleSettings().setResponseRequestEncoding("ISO-8859-1"); which
solves the problem.



Tom Desmet wrote:
> 
> Hi,
> 
> I have a problem with XML page incodings. We use wicket for applications
> on our cisco ip phones. The firmware http client on these phones does not
> understand utf-8 xml. So we need to provide iso-8859-1 encoded xml
> responses so that the output is rendered correctly. 
> We tried setting the correct xml header ... <?xml version="1.0"
> encoding="ISO-8859-1"?>,
> and the xml page is in the correct encoding.
> Wicket reads this page, and re-encodes it as UTF-8. So the output is no
> longer displayed correctly on our phones. Is there some possibility to
> have the output rendered as ISO-8859-1 ?
> 

-- 
View this message in context: 
http://www.nabble.com/Need-XML-pages-in-iso-8859-1-encoding-ipv-utf-8-tp14797286p14834105.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to