lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Does anyone have implementations for string.format("%q", …) in other languages - other than the implementation inside Lua itsself. I'm trying to produce some Lua code from inside PHP, and need to properly format the strings. I thought it may be something lots of people need to do, and there would be numerous bits of code, but I can't find anything.

Thanks,
Kevin