Open Bug 74172 Opened 23 years ago Updated 2 years ago

include XHTML1-defined entities for use in xpfe

Categories

(Core :: XUL, enhancement)

enhancement

Tracking

()

People

(Reporter: dr, Unassigned)

References

Details

XHTML 1.0 defines general entities for commonly-used unicode characters:

  http://www.w3.org/TR/html/DTD/xhtml-lat1.ent: Latin-1 characters
  http://www.w3.org/TR/html/DTD/xhtml-special.ent: "Special" characters
  http://www.w3.org/TR/html/DTD/xhtml-symbol.ent: Symbols

These should be in the tree and referenceable through chrome urls. For example:

  <!ENTITY % HTMLspecial PUBLIC
    "-//W3C//ENTITIES Special for XHTML//EN"
    "chrome:///entities/xhtml-special.ent">
  %HTMLspecial;

The front-end should be able to make use of these. For example:

  <!ENTITY titleSeperator.label " &ndash; ">

as in bug 22871.
So where should these files go?
Blocks: 22871
Status: NEW → ASSIGNED
Priority: -- → P4
Target Milestone: --- → mozilla0.9
ok, they're going in xpfe/global/resources/content. they'll be referenceable as
chrome://global/content/whatever.ent. patch on the way...
Sounds a cousin of bug 44458 which has a list of XHTML entities in DTD form.
Depends on: 74753
Do we really need these? Most localizations use non-ASCII characters and there 
have been no problems using UTF-8 for these.
Karl: The Latin-1 characters (&ouml; for example) aren't what we're really
interested in here. We're mostly interested in the typographic characters
(&nbsp;, &ndash;, &bull; and so forth), which are of general use in the UI. Case
in point: bug 22871.

Also, bug 44458 is on my radar...
->moz0.9.1, per triage
Target Milestone: mozilla0.9 → mozilla0.9.1
->future (this is easily done, but there's no point in doing it until we have
74753 fixed).
Target Milestone: mozilla0.9.1 → Future
Note to self: other "unicode in the gui" bugs include bug 60384, bug 52978, and
bug 12662.
[spam] dr@netscape.com's bugs subject to redistribution by chofmann. R!
Assignee: dr → chofmann
Status: ASSIGNED → NEW
Priority: P4 → --
Target Milestone: Future → ---
Component: XP Miscellany → XP Toolkit/Widgets
QA Contact: brendan → xptoolkit.widgets

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: chofmann → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.