On Wed, Jan 4, 2012 at 3:08 PM, Sven Meier <s...@meiers.net> wrote:
> I think null is the most general default.
>
> And a proper xml file has an explicit encoding anyway.

I remember some problems with <?xml ... ?> in IE that assumes this is
an XML response.

>
> Sven
>
> Am 04.01.2012 13:42, schrieb Martin Grigorov:
>
>> Setup application.getMarkupSettings().setDefaultMarkupEncoding("UTF-8")
>>
>> @devs: any reason why UTF-8 is not the default ?
>>
>> On Wed, Jan 4, 2012 at 2:27 PM, Sven Meier<s...@meiers.net>  wrote:
>>>
>>> You have to make sure Wicket loads your markup with the correct encoding,
>>> so
>>> add an xml prologue to all your markup files:
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>>
>>> Sven
>>>
>>> Am 04.01.2012 12:07, schrieb naorye:
>>>
>>>> am using intellij for writing java web application. I am also using
>>>> apache
>>>> wicket and apache Tomcat server.
>>>> When running html pages (using wicket) all my hebrew texts are looking
>>>> like
>>>> ׳”׳×׳—׳‘׳¨׳•׳×.
>>>>
>>>> have<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
>>>>  in
>>>> my header. I am hebrew speaker and my browser already set to hebrew
>>>> (other
>>>> hebrew sites works fine). I believe this is something with the wicket
>>>> page
>>>> generation. I builds the page from a template and several panels and I
>>>> believe this what currupt the text.
>>>>
>>>> What can be the reason and How can fix it?
>>>>
>>>> --
>>>> View this message in context:
>>>>
>>>> http://apache-wicket.1842946.n4.nabble.com/hebrew-text-looks-like-tp4260875p4260875.html
>>>> Sent from the Users forum mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to