[luatex] \luaescapestring and \escapechar

Hans Hagen pragma at wxs.nl
Sat May 17 13:48:30 CEST 2014


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).

>     * Negative values of \escapechar: The escape char should not
>       be printed at all.

Indeed.

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
-----------------------------------------------------------------



More information about the luatex mailing list