On Fri, May 3, 2013 at 6:29 PM, Keith J. Schultz <keithjschultz@web.de> wrote:
HI Everybody,

If I remember correctly Lua is not rl-compatible. There the below code can not work!

The solution from Wolfgang is ok, as I can see (I've checked with  some small examples in arabic)
The callback "process_input_buffer" is not enabled in MkIV (this is my second fault,could be that gsub works)
which is ok because in general is better to modify the source .