From cbea0e4258c2033dd1cf3c2003f800a83f75db40 Mon Sep 17 00:00:00 2001 From: Mark Pulford Date: Sun, 22 Jan 2012 14:10:41 +1030 Subject: Escape tilde characters in documentation --- manual.txt | 10 +++++----- performance.txt | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/manual.txt b/manual.txt index 67bed57..f46117e 100644 --- a/manual.txt +++ b/manual.txt @@ -21,7 +21,7 @@ Lua CJSON is covered by the MIT license. Review the file +LICENSE+ for details. The latest version of this software is available from the -http://www.kyne.com.au/~mark/software/lua-cjson.php[Lua CJSON website]. +http://www.kyne.com.au/%7Emark/software/lua-cjson.php[Lua CJSON website]. Feel free to email me if you have any patches, suggestions, or comments. @@ -369,10 +369,10 @@ JSON libraries. To ensure the output is valid JSON, applications should ensure all Lua strings passed to +cjson.encode+ are UTF-8. Base64 is commonly used to encode binary data as the most efficient -encoding under UTF-8 can only reduce the encoded size by a further \~8%. -Lua Base64 routines can be found in the -http://w3.impa.br/~diego/software/luasocket/[LuaSocket] and -http://www.tecgraf.puc-rio.br/~lhf/ftp/lua/#lbase64[lbase64] packages. +encoding under UTF-8 can only reduce the encoded size by a further +~8%. Lua Base64 routines can be found in the +http://w3.impa.br/%7Ediego/software/luasocket/[LuaSocket] and +http://www.tecgraf.puc-rio.br/%7Elhf/ftp/lua/#lbase64[lbase64] packages. ========= Lua CJSON uses a heuristic to determine whether to encode a Lua table as diff --git a/performance.txt b/performance.txt index 2fd5c7d..05e39af 100644 --- a/performance.txt +++ b/performance.txt @@ -26,7 +26,7 @@ http://chiselapp.com/user/dhkolf/repository/dkjson/[DKJSON 2.1]:: https://github.com/brimworks/lua-yajl[Lua YAJL 2.0]:: - C wrapper for the YAJL library -http://www.kyne.com.au/~mark/software/lua-cjson.php[Lua CSJON 2.0.0]:: +http://www.kyne.com.au/%7Emark/software/lua-cjson.php[Lua CSJON 2.0.0]:: - C implementation with no dependencies on other libraries -- cgit v1.2.3-55-g6feb