Lazaris,
To support Greek encoding on Windows, you have to install iconv library (which is a
standard part of the most of UNIX like systems, available at
ftp://ftp.gnu.org/pub/gnu/libiconv) and then recompile Sablotron from sources. See
INSTALL_WIN for instructions.
UTF-8 should work fine without iconv. Do you get the same error running your
transformations from command line using sabcmd? A minimal example of your data and
stylesheet would help.
Regards,
Petr
Lazaris Stylianos wrote:
> I recently downloaded and installed PHP 4.0.5 for Windows and tried to use
> XSLT. I used the function xslt_process() for my transformation, as there
> is a similar example in the PHP manual. The problem is that when I use
> Greek characters in the XML document or the XSL document, I get an error
> INVALID TOKEN by the xslt_process() command. When I used PHP's XML_DOM API
> I had no problem with Greek characters, I didn't even have to specify an
> encoding in the <? xml ?> tag and it worked just fine, but when I use the
> XSLT functions I get the above error. When I tried to use utf8_encode() on
> the xml and xsl strings I didn't get any errors, but the resulting string
> has unreadable characters. Please, I would like a bit of help in this
> topic because it is part of my diploma project.
>
> -------------------------------------------------------------------------------
> Stelios Lazaris
>
> Computer Engineering & Informatics Department
> University of Patras, Greece
>
> mail: [EMAIL PROTECTED]
> www: http://students.ceid.upatras.gr/~lazaris/
> Cellular: +30977951767
--
Petr Cimprich
Ginger Alliance
www.gingerall.com