HighDots Forums  

Troubles with ISO 8859-2

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Troubles with ISO 8859-2 in the HTML forum.



Reply
 
Thread Tools Display Modes
  #31  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Troubles with ISO 8859-2 - 12-13-2004 , 10:11 AM






On Sat, 11 Dec 2004, Henri Sivonen wrote:

Updated on 13 Dec 2004: "LANG=xx" added.

Quote:
Pashto and Urdu are still not recognized.

The fix is trivial. See
https://bugzilla.mozilla.org/show_bug.cgi?id=274102
Thanks!
There is another issue with the LANG attribute, namely with unkown languages
such as "xx" or "mn". Currently, Mozilla 1.7 displays such text in the
Western typeface. However, I think such text should be displayed in the
same way as text without LANG attribute, i.e. in the typeface corresponding
to the encoding (charset) of the page.

Concrete example:
charset=ISO-8859-5 lang="xx"
lang="mn"

[Use the URL given above and choose "ISO-8859-5" in the browser.]
Mozilla 1.7 uses the Western typeface for display. But it should use
the Cyrillic typeface because of charset=ISO-8859-5.

--
Mars, unlike Earth, has no atmosphere.
The Chicago manual of style, 15th ed., p. 362



Reply With Quote
  #32  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Troubles with ISO 8859-2 - 12-13-2004 , 10:33 AM






On Sat, 11 Dec 2004, Alan J. Flavell wrote:

Quote:
However, text labelled LANG=ps, sd, ur (Pashto, Sindhi, Urdu) should
be displayed _completely_ in the typeface I chose for the Arabic script.
On MS Windows, this might be Tahoma with a rich repertoire of Arabic
glyphs.

OK. Were you happy about the situation with initial, medial, final
and isolated forms, that you were mentioning earlier in relation to
some of these Arabic-based script families?
No. The problem is more subtle. Suppose I have chosen Arial as my
preferred Western typeface and Tahoma as my preferred Arabic typeface
(on MS Windows). I have text marked with LANG=ps. Then Mozilla will
first apply the Western typeface Arial because the language "ps"
is currently unrecognized. Arial contains letters for the Arabic
language, but not the special Pashto letters. Pashto letters are
therefore taken from Tahoma (?) or Arial Unicode (?) or whatever.

*However, letters from different typefaces do not join.*

You should be able to see this effect on
http://ppewww.ph.gla.ac.uk/~flavell/...unidata06.html ;-)
when the glyph for ـ is taken from your Western Typeface
Arial and the glyphs for, say, Urdu (0679, 0688, 0691, 06C1, 06BE)
are taken from some other typeface.

--
Mars, unlike Earth, has no atmosphere.
The Chicago manual of style, 15th ed., p. 362



Reply With Quote
  #33  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Troubles with ISO 8859-2 - 12-13-2004 , 01:00 PM



On Sat, 11 Dec 2004, Alan J. Flavell wrote:

Quote:
So, in the worst cases, it looks like the proverbial ransom note.
It might look like
http://www.unics.uni-hannover.de/nht...emp/pashto.gif
All lines contain the word "Pashto", but only the first line
in Tahoma is correct. The other lines have been formatted in
Akhbar, Neskh, Arial Unicode, resp., where the special Pashto
letter "sh" is either taken from another font or does not join.

--
Mars, unlike Earth, has no atmosphere.
The Chicago manual of style, 15th ed., p. 362



Reply With Quote
  #34  
Old   
Henri Sivonen
 
Posts: n/a

Default Re: Troubles with ISO 8859-2 - 12-13-2004 , 02:46 PM



In article <Pine.GSO.4.44.0412131600080.9276-100000@s5b005>,
Andreas Prilop <nhtcapri (AT) rrzn-user (DOT) uni-hannover.de> wrote:

Quote:
There is another issue with the LANG attribute, namely with unkown languages
such as "xx" or "mn". Currently, Mozilla 1.7 displays such text in the
Western typeface.
Could be by design. Could be a bug. Have you filed a bug?

--
Henri Sivonen
hsivonen (AT) iki (DOT) fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


Reply With Quote
  #35  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Troubles with ISO 8859-2 - 12-14-2004 , 10:00 AM



On Mon, 13 Dec 2004, Henri Sivonen wrote:

Quote:
There is another issue with the LANG attribute, namely with unkown languages
such as "xx" or "mn". Currently, Mozilla 1.7 displays such text in the
Western typeface.

Could be by design. Could be a bug. Have you filed a bug?
No - I'm still waiting for a reaction to bug #266474.

This test page
http://www.unics.uni-hannover.de/nht...p/ticket.html6
should show the unwanted behaviour with the LANG attribute.
In Mozilla for Windows, choose Arial as your Western typeface
and Tahoma as your Arabic typeface. Tahoma on Windows 2000
contains all Urdu letters; Arial does not. The text without
LANG markup should be displayed fine in Tahoma, where the
three letters (t. k t.) join.

--
Mars, unlike Earth, has no atmosphere.
The Chicago manual of style, 15th ed., p. 362



Reply With Quote
  #36  
Old   
Henri Sivonen
 
Posts: n/a

Default Re: Troubles with ISO 8859-2 - 12-14-2004 , 03:55 PM



In article <Pine.GSO.4.44.0412141551560.14390-100000@s5b004>,
Andreas Prilop <nhtcapri (AT) rrzn-user (DOT) uni-hannover.de> wrote:

Quote:
On Mon, 13 Dec 2004, Henri Sivonen wrote:

There is another issue with the LANG attribute, namely with unkown
languages
such as "xx" or "mn". Currently, Mozilla 1.7 displays such text in the
Western typeface.

Could be by design. Could be a bug. Have you filed a bug?

No - I'm still waiting for a reaction to bug #266474.
How is that bug relevant to this issue?

--
Henri Sivonen
hsivonen (AT) iki (DOT) fi
http://iki.fi/hsivonen/
Mozilla Web Author FAQ: http://mozilla.org/docs/web-developer/faq.html


Reply With Quote
  #37  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Troubles with ISO 8859-2 - 12-15-2004 , 08:06 AM



On Tue, 14 Dec 2004, Henri Sivonen wrote:

Quote:
No - I'm still waiting for a reaction to bug #266474.

How is that bug relevant to this issue?
It isn't. But I ask myself why I should bother filing bugs
when there is no reaction at all.

--
Mars, unlike Earth, has no atmosphere.
The Chicago manual of style, 15th ed., p. 362



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.