On 5/17/2014 6:14 PM, Heiko Oberdiek wrote:
On 17.05.2014 13:48, Hans Hagen wrote:
On 5/17/2014 4:16 AM, Heiko Oberdiek wrote:
=> Two bugs:
* \escapechar=0, then the output of the escape char should
by character zero (^^@) instead of an unexpected end of string
that kills characters behind.
I tested 0 and got a nul character so that might also depend on other
issues (Lua can handle them in most cases unless it gets fed into som ec
helper that sees nul as end-of-string and there is nothing we can do
about that: 0 = 0 ... no funny ^^ stuff in the escape).
With `\escapechar=0` it is not possible to get the nul byte in the
string like the other positive values?
imo it should be, although one can never be sure if the receiving end is
8 bit clean or sees <nul> as something special
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------