Re: [Haifux] [OT] Hebrew HTML guide
On Fri, 12 Dec 2003, Shachar Shemesh wrote: Instructions out of your predicament (for future note): A. Copy the text into the clipboard. B. Run LC_CTYPE=en_US kedit (or whatever other editor that supports clipboard). C. Paste the text there, and save it. D. Run LC_CTYPE=he_UL kedit file On Fri, 12 Dec 2003, Tzafrir Cohen wrote: Why not simply convert: uniconv --encode ISO-8859-1 |iconv --decode ISO-8859-8 Thanks, guys. But anything that's not built into the browser is too much work, when all I want is to find out whether a web page is relevant. And asking that browser developers should support windows-1255 misinterpreted as Latin-1 and reencoded in UTF-8 is a bit too much. One could use Tzafrir's idea if a browser allowed you to pipe a particular page through a shell command and redisplay it immediately. Do you know of a browser that allows this? Otherwise, mental translation is the only practical solution, unfortunately. Avoid monsters! -Ron. -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
Re: [Haifux] [OT] Hebrew HTML guide
With UTF-8 you ... reduce to (almost) zero the chance the site will be viewed with a wrong encoding. Oh yeah? Just yesterday I ran into a page that had what looked at first to be unrecognized windows-1255 or iso-8859-8 encoding (with Hebrew characters appearing as lowercase accented Latin characters), but it turned out that these Latin characters were in UTF-8. I was even able to read the text by performing mental substitutions (a-grave = alef, a-acute = bet etc), but I wasn't able to find a way to convert these characters to Hebrew. What I needed and didn't have was a UTF-8 Latin-1 filter. Granted, it's pretty dumb to write Hebrew with UTF-8-encoded lowercase accented Latin characters, but these monstrosities do exist on the web. -Ron. P.S. Here's my guess as to how the monstrosity came into being: it originated as an RTF file in windows-1255 encoding, and was converted automatically to html. The conversion program was not smart enough to recognize the original encoding, but it was smart enough to convert what it thought to be Latin-1 into UTF-8. Which screws any attempt by the user to view the file with the appropriate encoding... -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
Re: [Haifux] [OT] Hebrew HTML guide (was: Translation of My Guide)
On Thu, 11 Dec 2003, Eli Billauer wrote: Speaking of which, is there any good guide for writing HTML in Hebrew? Is there any place where all this info is concentrated? I don't know of such guide. My usual practice is to base new pages on old ones I've written. I usually use strict HTML4 with CSS in the UTF-8 or ISO-8859-8-I character set. There are several other questions, such as what character set to use in the HTML for the Hebrew, what fonts, and how the overall thing should work. And things I can't think of, because I haven't seen how the page looks on some browser I'm not aware of. Use logical Hebrew with UTF-8 for the best results. You will lose visitors who are using NS4, but they should've upgraded by now. Alon -- This message was sent by Alon Altman ([EMAIL PROTECTED]) ICQ:1366540 GPG public key at http://alon.wox.org/pubkey.txt Key fingerprint = A670 6C81 19D3 3773 3627 DE14 B44A 50A3 FE06 7F24 -- -=[ Random Fortune ]=- QOTD: I don't think they could put him in a mental hospital. On the other hand, if he were already in, I don't think they'd let him out. -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
Re: [Haifux] [OT] Hebrew HTML guide
Use logical Hebrew with UTF-8 for the best results. In what sense are results for UTF-8 better than for Windows-1255 or ISO 8859-8-I? You will lose visitors who are using NS4, but they should've upgraded by now. Most statistics I've seen say these are less than 1% of surfers. But, then, most statistics don't give Mozilla/Netscape more than 2-3%. And there's the question of what are the usage percentage among Linux users/enthusiasts. -- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]