Re: [DOC-HE] Re: [PHP-DOC] Re: [DOC-HE] Re: [PHP-DOC] cvs: phpdoc / Makefile.in
[email protected] (shimi) Sun, 18 May 2003 00:52:54 +0300 (IDT)
| Newsgroups | php.doc,php.doc.he |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 17 May 2003, Gabor Hojtsy wrote:
> >>>also, the encoding isn't set automatically as of now, and
> >>><DEFANGED_meta charset="iso-8859-8-i"> will help. (Yes, we need the ISO name here,
> >>>all the browsers support it, and not all of them support the windows-1255)
> >>
> >>Errrmmm... Xsltproc does not support iso-8859-8-i, and therefore the
> >>output file is labled to use iso-8859-8. ;) That meta tag is
> >>autoganarted by xsltproc. So it is still a question for me, that how can
> >>xsltproc output the text in the right (reversed aka logical) order while
> >>stamping it as visual... Huh... The only one thing I can think of is
> >>that what xsltproc says to be visual is in fact logical odering... Or I
> >>don't know how this can happen...
> >
> > 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. 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).
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.
--
Best regards,
Shimi
----
"Outlook is a massive flaming horrid blatant security violation, which
also happens to be a mail reader."
"Sure UNIX is user friendly; it's just picky about who its friends are."