[luatex] \luaescapestring and \escapechar

Heiko Oberdiek heiko.oberdiek at googlemail.com
Sat May 17 18:14:14 CEST 2014


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?

Yours sincerely
  Heiko Oberdiek



More information about the luatex mailing list