Have a look to http://www.w3.org/International/questions/qa-utf8-bom.en.php


Le 24 mai 2012 à 23:49, Alec Swan a écrit :

> Hello,
> 
> I have HTML markup fie saved with UTF-8 encoding. When I open HTML in
> the browser it looks good, however if the same HTML is displayed by
> Wicket I see a byte-order-mark:
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml";
> xmlns:wicket="http://www.w3.org/1999/html";>
> <head>
>    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
> ...
> 
> When I check page info in the browser it says that the page uses UTF-8 
> encoding.
> 
> What do I need to do to continue using UTF-8 but prevent
> byte-order-mark from being rendered?
> 
> Thanks,
> 
> Alec
> 
> ---------------------------------------------------------------------
> 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

Reply via email to