Skip to content

Encoding unicode code points to utf8 and decoding utf8 to unicode code points.

Notifications You must be signed in to change notification settings

cyisfor/lua_utf8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Usage:

local utf8 = require('utf8')
print(utf8.encode({27,0x3045,...}))
for _,codepoint in ipairs(utf8.decode('yo hablo éspanol')) do
    print(codepoint)
end

About

Encoding unicode code points to utf8 and decoding utf8 to unicode code points.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages