Στις 4/7/2012 11:18, ο/η Harald Oehlmann έγραψε:
Am 04.07.2012 10:12, schrieb Georgios Petasis:
Στις 4/7/2012 11:02, ο/η Massimo Manghi έγραψε:
It doesn't matter, it seems that the following works:

set xmldata [upload data xml]
set xmldata [encoding convertfrom utf-8 $xmldata]

The problem was that I failed to change the stdout encoding to utf-8 in
my rivet string.
Adding "fconfigure stdout -encoding utf-8" ate the very top of my
script, solved all problems.
(I return everything in utf-8 and set the utf-8 encoding in all return
types).
may this be considered as a bug ?
Or should we have a magic or command to set the encoding of stdin to the
delivered encoding ?

Regards,
Harald


Dear Harald,

I don't know if it is a bug or not, but I think we definitely need more examples. Transferring an XML in utf-8 is a must now days. I plan to create a new page about rivet in the wiki, with some more examples.
(Actually, all the stuff I have done to write my first services)

Regards,

George

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to