diff options
author | hryx <codroid@gmail.com> | 2013-12-31 04:37:04 -0800 |
---|---|---|
committer | hryx <codroid@gmail.com> | 2013-12-31 04:37:04 -0800 |
commit | 52d06037d13afdc68384f1031766ac087cb5e70e (patch) | |
tree | fc2edc150b6ab3624ce4f407926f64981bfaaf51 /.gitignore | |
parent | b63895a2c719003ea2d4f77772074f40f3bddc00 (diff) | |
download | Quickie-52d06037d13afdc68384f1031766ac087cb5e70e.tar.gz Quickie-52d06037d13afdc68384f1031766ac087cb5e70e.tar.bz2 Quickie-52d06037d13afdc68384f1031766ac087cb5e70e.tar.xz Quickie-52d06037d13afdc68384f1031766ac087cb5e70e.zip |
Added utf8.encode
Here's a function that takes a Unicode code point and returns the corresponding UTF-8 encoded character bytes. Example:
utf8.encode(0x265c) -- returns '♜'
Please feel free to edit or revert if it's not your style. It might not be relevant to Quickie, though it's a handy UTF-8 utility.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions