Hello.


I am having trouble with argument encoding - at least i think that it 
could be the reason...

Can anybody tell me which encoding sablotron uses to read/pass argument 
values ?

In my language (estonian) we have such characters like ����.

And when i use PHP to make HTML form XML with XSL i use encoding 
"ISO-8859-1" - the page looks fine in browser, but when i select some 
value from selectbox and the value contains �o�� characters & i submit 
my form then XSL gets value what contains wierd chars.

When i output the value in PHP - all is ok.

Example:
xml's encoding is ISO-8859-1
xsl's encoding is ISO-8859-1
xsl's output encoding is ISO-8859-1

Page: encoding - ISO-8859-1
Variable: contract in form has value: M��k

After submit:
PHP outputs $contract value as: M��k
XSL outputs <xsl:value-of select="$contract"/> value as: M (and nothing 
else even no html code follows)


But, when i use UTF-8 for encoding fo xsl and output all works fine but 
browser(IE6 & Mozilla (0.9.1)) does not select proper encoding (UTF-8) 
and therefore page looks nasty - all my special chars are some wierd 
chars. But when i select from browser page encoding manually all is fine 
again.:)


So... i somebody understood my problem and can help me then i'll be 
happy. :)

Please make me happy....



-- 
-------------------
Martin Pedak
O� Webmedia
Tel: +372 7 441583
GSM: +372 50 68531

Reply via email to