Re: Silva 1.o / Unicode problem

Bas Leeflang <[email protected]>
Newsgroups gmane.comp.web.zope.silva.devel
Organization Bijvoet Center
Message-ID <[email protected]>
Hi,

Thanks for the hint.

I had another, related problem. When I include '&' in e.g. a title or 
even in the running text (all based on Silva). The final page just looks 
fine. However, when I try to validate such a page with the 
http://validator.w3.org/ xhtml validator I get error messages on the 
'&'. It should be escaped and not appear as plain text. At least that is 
what I recall from the error message.

Should Silva take care about this, or is the validator not good enough 
in this respect?

Bas

Guido Wesdorp wrote:

> Clemens Robbenhaar wrote:
>
>> I am not sure how to work around this in general. In Your case it
>> should work to use a html-entity (or html-escape, please correct me as I
>> am not comfortable with the nomenclatura here ...)
>>
>>  
>>
> html entity was correct iirc... ;)
>
>> Well, cut it shout: just use &copy; and You should be fine (I hope)
>>
>>  
>>
> Indeed, &copy; should work, you can also use the generic escape 
> sequence for unicode chars: &#x<value>; (where <value> is the hex 
> value of the character), so for the (c) char the entity would be 
> '&#xa9;'.
>
> Cheers,
>
> Guido
>

-- 
Dr. Bas R. Leeflang
Bijvoet Center for Biomolecular Research Tel : +31.30.253.3498
Utrecht University                       Fax : +31.30.254.0980
Padualaan 8, NL-3584 CH  Utrecht         Email: [email protected]
The Netherlands                          http://www.bijvoet-center.nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.