Issue 35444 - HTML files containing an apostroph show "&aps" text
Summary: HTML files containing an apostroph show "&aps" text
Status: CLOSED FIXED
Alias: None
Product: Infrastructure
Classification: Infrastructure
Component: Website general issues (show other issues)
Version: current
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: daniel.rentz
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 13:13 UTC by daniel.rentz
Modified: 2013-08-07 15:24 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description daniel.rentz 2004-10-13 13:13:24 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  ' .
Comment 1 lsuarezpotts 2004-10-14 05:06:20 UTC
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
Comment 2 Regina Henschel 2004-10-14 07:48:18 UTC
I think &aps; is not a valid entity and a simple apostrophe (U+0027) needs no
entity, only " & < > need entities. So write ' .
Comment 3 lsuarezpotts 2004-10-14 19:05:25 UTC
Regina, thanks.
But, please do convert all files to UTF-8, when you can. (other coding may be necessary...)
louis
Comment 4 stx123 2004-10-22 10:12:40 UTC
Daniel, can we consider the issue as resolved (INVALID)?
Thanks, Stefan
Comment 5 daniel.rentz 2004-10-27 11:52:18 UTC
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?
Comment 6 lsuarezpotts 2004-10-27 19:05:33 UTC
i changed &aps to simple " ' " (minus double quotation marks). It renders properly now.
Louis
Comment 7 daniel.rentz 2004-10-28 09:47:53 UTC
Looks good now, thanks
Comment 8 daniel.rentz 2004-10-28 09:48:12 UTC
verified
Comment 9 daniel.rentz 2004-10-28 09:48:28 UTC
closed