[xml] xsltproc --stringparam and national chars

Hello transformers!

I am trying to set stylesheet parameters containing national characters
using the --stringparam of xsltproc. This fails, and the chars are
replaced with space.

My locale is sv_SE.iso-8859-1,the stylesheet and the doc is also encoded
using iso-8859-1.

I have also tried using #&149;-style encoding of the offending chars,
but no entity expansion is done.

Using utf-8 however produces the correct result. It took some time to
figure out, so I'd appreciate if somone would add this info to the



Jens Askengren

Teknik i Media Sverige AB (publ)
Address: Södra förstadsgatan 2, SE-211 34 Malmö, Sweden
Tel: +46 40 601 57 00 (vx)
Mobile: +46 704 20 57 17
Fax: +46 40 601 57 99

DISCLAIMER: "The information contained in this email and any attachment
confidential. It is intended only for the named addressee(s). If you are
not the named addressee please notify the sender immediately and do not
disclose, copy or distribute the contents to any other person other than
the intended addressee(s)."

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]