[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] encoding on parameters for document function (using s
Dear xsl users, The problem I have is the following. I am constructing a URL to pass as a parameter to the document function, as in document('http://myserver.com/getthis?file=$m'). The $m part of this parameter consists of non-ASCII characters. When I tested this from within oXygen, everything worked as expected, but running this with Saxon 6.5.4 from the commandline garbles the encoding of the parameter that gets passed on the URL the characters seem to get garbled and the result does not make any sense. I tried to set the processing environment on the command line explicitly to UTF-8, which is also the encoding of my file and the output encoding set within the XSL file, but to no avail. I also tried to use the Java url-encode function as described in the FAQ, but that also did not achieve the desired reult. In case this is important, I tried it on Mac OS X 10.3 and 10.4, both of which are using Java 1.42 (or so I think). Any help is very much appreciated, Christian -- Christian Wittern Institute for Research in Humanities, Kyoto University 47 Higashiogura-cho, Kitashirakawa, Sakyo-ku, Kyoto 606-8265, JAPAN
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|