Re: [DOC-HE] Re: [PHP-DOC] cvs: phpdoc / Makefile.in
[email protected] (shimi) Fri, 16 May 2003 18:09:59 +0300 (IDT)
| Newsgroups | php.doc,php.doc.he |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 16 May 2003, Gabor Hojtsy wrote:
> >
> > Why do you say that iconv can't encode the current files?
> >
> > # iconv -f windows-1255 -t utf-8 mysql-connect.xml -o ~/web/mysql-connect-unicode.xml
> > #
> >
> > http://shimi.staff.fresh.co.il/mysql-connect-unicode.xml
>
> The fact that xsltproc does not recognize the iso-8859-8-i means that
> iconv is probably unable to work with them.
It can :) I just proved that it does. They simply chose the microsoft's
name for the standard. *I* don't know why :)
>
> You said: "iconv (the unix utility) supports hebrew only by the non
> standard representation of it (?) which is windows-1255"
>
> I have tried to find any text you typed which said that windows-1255 and
> iso-8859-8-i are the same... But I was unable to... This is new
> information you provided above. Our conversation would not be needed if
> I would know that before.
I see. I guess I failed to emphasize that by "representation" i mean
"encoding name", and not "a different set of characeters". next time :)
>
> But we don't need to convert it to UTF8, who said that? ;) We ned to
> have some encoding which is recognized by xsltproc first. If
> windows-1255 is the same as iso-8859-8-i, then this is simply a matter
> of find/replace in the XML files to replace the encoding names, and then
> xsltproc will hopefully work.
>
This is what I really don't understand at all... Why does it need to be
converted, at all? The hebrew as it is in the original translated files is
already in the form that if will be displayed in the browser, will look
fine! I mean - don't change anything and it works. As long as you output
the relevant HTML tags in the final HTML output (that would be: <html
dir="rtl"> and <meta charset="iso-8859-8-i">) - it will look OK.
If xsltproc is just trying to be naughty, I think that even if you put
there (at the encoding) the value of iso-8859-1 (english) - the hebrew
will be displayed fine at the browser. I can't really check because I
really don't know how, but if you want to make such a file and send it to
me, I can see if it looks fine :)
At any case, those HTML tags I talked about are a must. Currently the text
is really unreadable, and I must, for every page and page I go into,
change those two properties via the browser's menu...
> Goba
>
--
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."