Hi all,
I have written a small tcl client that uploads an XML file, using code
from the wiki:
http://wiki.tcl.tk/13675
The url is a Rivet tcl script, and I have used "xml" as the "form
field". The Rivet script contains code like:
if {![var exists xml]} {
::entityBuster returnErrorPage "No XML posted!"
}
set xmldata [upload data xml]
I see that there is data placed in xmldata (no matter how many times I
call "upload data"), but what is the encoding of the data?
I tried both "encoding convertfrom utf-8" & "encoding converttoo utf-8",
but I do not seem to get back valid utf-8.
The original file is in utf-8.
George
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]