From: Andreas K. <and...@ac...> - 2008-12-15 22:46:16
|
> ... ascii85 which > isn't done but should be soon as its becoming used in more protocols now. Interesting. Can you give us references to protocols doing so ? In that context I should also note that the encoding used by tclcompiler/tbcload is a (slightly) modified ascii85. IIRC a \0 in the input is replaced by a 'z' instead of the regular coding, and some output characters are remapped to avoid Tcl's special characters ( ", {, }, [, ], $, \ ): (string map {" v $ w [ x ] | \ y} (I have not made sure of the proper Tcl quoting here)). > The fix for just ignoring whitespace looks ok to me. I dont remember if > there was a particular reason for ignoring any invalid characters and in > the absence of specific tests or comments aboout the issue we may assume > it is an accident. Ignoring whitespace is definately required. -- Andreas Kupries <and...@Ac...> Developer @ http://www.ActiveState.com Tel: +1 778-786-1122 |