Apache OpenOffice (AOO) Bugzilla – Issue 35444
HTML files containing an apostroph show "&aps" text
Last modified: 2013-08-07 15:24:38 UTC
Seen in the following document: http://de.openoffice.org/doc/howto/tutorials/howto_insert_date_de.html This doc contains basic code with comments (leading apostrophs) enclosed in <pre> tags. If I checkout this file via CVS, I see the characters correctly, if I look at the website, I always see the text &aps instead of ' .
The document in question is not utf-8. If you make it so, it should work, I'd guess. Keep in mind that unless a specific meta tag is specified, files are rendered, evidently, as latin-1. Louis
I think &aps; is not a valid entity and a simple apostrophe (U+0027) needs no entity, only " & < > need entities. So write ' .
Regina, thanks. But, please do convert all files to UTF-8, when you can. (other coding may be necessary...) louis
Daniel, can we consider the issue as resolved (INVALID)? Thanks, Stefan
The file is US-ASCII (all chars are between 0-127) which is a subset of Latin-1 and UTF-8. So there is nothing to convert. Additionally, this file already contains the line <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> which should mark it as UTF-8. So what am I supposed to do?
i changed &aps to simple " ' " (minus double quotation marks). It renders properly now. Louis
Looks good now, thanks
verified
closed