W3C home > Mailing lists > Public > www-international@w3.org > January to March 2014

[Bug 25136] You have dropped support for encoding cp862!!

From: <bugzilla@jessica.w3.org>
Date: Thu, 27 Mar 2014 02:07:30 +0000
To: www-international@w3.org
Message-ID: <bug-25136-4285-3P0LDz3sR2@http.www.w3.org/Bugs/Public/>

--- Comment #16 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
(In reply to queency3 from comment #14)

> file hex code: abcd efg. .... ....
> view in html :abcd efg. .... ....
> the view is from the left to the right only.

OK, that means that you require visual order. However, for CP862, visual order
does not work cross browser.

To get it in visual order in a cross browser compatible way you should use
"ISO-8869-8" rather than "DOS-862". Here is what you could do:

1) Let your application convert each Hebrew letter to its numerical character
reference equivalent. For example, convert Hebrew aleph into &#1488;

2) Apply the charset label "ISO-8869-8" to the web page. 
  (For example <meta charset="ISO-8869-8"/>)

3) Make sure the dir="" attribute is set to "ltr": <html dir="ltr">.

RESULTS: The letters will display in *visual* order not only in Firefox but
also in Safari and Chrome. In IE it might not give you visual order since
visual order only works in quirks mode.

(Of course, you should rather use UTF-8. But then I guess you must first
convert the text from visual to logical order, which sounds more complicated,
to me.)

You are receiving this mail because:
You are on the CC list for the bug.
Received on Thursday, 27 March 2014 02:07:31 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:41:04 UTC