defold-utf8
defold-utf8 copied to clipboard
utf8 library bindings for defold
UTF8
utf8 library bindings for defold https://github.com/starwing/luautf8
I use it in html and windows. But it should work everywhere.
If you like that repository. You can support me on patreon. It will help me make more items for defold.
Installation
You can use Utf8 in your own project by adding this project as a Defold library dependency. Open your game.project file and in the dependencies field under project add:
https://github.com/d954mas/defold-utf8/archive/master.zip
Or point to the ZIP file of a specific release.
Examples
More info read in library.
Many routines are same as Lua's string module:
-
utf8.byte
-
utf8.char
-
utf8.find
-
utf8.gmatch
-
utf8.gsub
-
utf8.len
-
utf8.lower
-
utf8.match
-
utf8.reverse
-
utf8.sub
-
utf8.upper