Re: [PHP-DOC] Re: [DOC-HE] Re: [PHP-DOC] Re: [DOC-HE] Re: [PHP-DOC] cvs: phpdoc / Makefile.in

[email protected] (Gabor Hojtsy) Sun, 18 May 2003 00:12:26 +0200
Newsgroups php.doc,php.doc.he
Message-ID <[email protected]>
>>>Are you sure that this is what it did? Perhaps the pages with iso-8859-8 
>>>are old ones that weren't generated by xsltproc (or something like 
>>>that...?)  At any case, iso-8859-8-i is PREFERRED as the meta charset, but 
>>>windows-1255 is also OK, because most popular browsers (mozilla, opera, 
>>>IE) understands that name...
>>>
>>>Also, if I am not wrong, putting <html dir="rtl"> enforces charset 
>>>iso-8859-8-i (because RTL makes the browser render the page from right to 
>>>left, and this is actually, what iso-8859-8-i *means*). So perhaps putting 
>>>that HTML tag should be sufficient.
>>
>>Please reread what I have written. You are talking about meta tags while 
>>I was talking about text (content).
> 
> I always read what you write, Goba... :) 
> I answered you that the output is in iso-8859-8-i, and he just writes 
> the wrong encoding in the meta charset, and that has to be changed, 
> because the text is outputted at the right encoding.

Hm, I was unable to find these facts in the answer above. Maybe I am a 
wrong guy to talk to ;) Above you said that the pages with iso-8869-8 
are probably old ones... But we were only talking about one thing the 
files produced by Friedhelm, hey! Then you changed to repeat the whole 
stuff we already know and understand. You have not said that the 
encoding in the file is already iso-8859-8-i and that only the meta 
needs to be changed. Though this was what I was expecting from you at 
the first place. But was unable to find in your reply...

> Perhaps a simple 
> output buffering and str_replace of the <html> and <meta charset> tags 
> would solve us the whole thing (if that's OK for you).

We'll do it in XSLT as much as we can.

> Also, when looking at my translation here: 
> http://www.holliwell.de/he1/ref.mysql.html
> 
> I realize that if we do put it right to left (something we must do), the 
> code parts will be problematic, because the same way Hebrew looks fuzzy 
> when rendered left-to-right, English looks fuzzy when rendered 
> right-to-left... there must be a way for us the translators to have codes 
> (and user notes) be left-to-right. I think that can be done by using <span 
> dir="rtl"> before the english text that must be left-to-right, and </span> 
> immediately afterwards... even if that html tag is added in every place in 
> the php.net it shouldn't have any influence, because normally english is 
> rtl, so this has no effect on non-RTL pages.

Heh. First problems first, then this one... :)

Goba