Re: ec_rpc in Tcl seems unable to cope with special characters like £ (the pound

From: Kish Shen <k.shen_at_icparc.ic.ac.uk>
Date: Thu 21 Dec 2000 08:05:18 PM GMT
Message-ID: <3A42627E.CDDAA1A9@icparc.ic.ac.uk>
Problem is due to use of unicode in Tcl (>8.0). "£"
is represented as "\302\243" in utf-8 unicode used by Tcl. This is
converted correctly to EXDR format as a 2 byte string. 

However, puts seems to loose a byte when outputting the EXDR string,
even when it should treat the string as binary. The read_exdr then
crashes because the string has lost a byte.

Fixed by forcing Tcl not to convert string with puts.
Received on Thu Dec 21 20:05:18 2000

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:02 PM GMT GMT