lua-users home
lua-l archive

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


Is there any reason that the built-in format() command doesn't reproduce the
non-printable characters in their printable forms: \001 and \002 ?

inStr = "\001\002"
outStr = format("%q", inStr)
print(outStr)

Thanks,
Joshua Jensen