Re: "character data is not allowed here" problem with Unicode Chinese

On Feb 6, 2007, at 09:15 , Allan Dyer wrote:

> I'd like to report a problem with the validation of Unicode Chinese  
> pages.
> I tried this validation:
> and got one error:
> Error  Line 5 column 54: character data is not allowed here.
>     <meta name="description" content="U-hearts 兩地���心" />
> --------

The error is actually coming from your usage of the XHTML-style  
construct /> to close the <meta>, when you are using HTML 4.01. Use
<meta .... >

There is indeed a (old, which was fixed a couple of years ago and  
broke again recently - not sure yet why) bug making the validator  
highlight the wrong position in the source display, but there is no  
problem in the validator's recognition of the utf-8 string.


Received on Tuesday, 6 February 2007 13:20:13 UTC