Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d954mas/defold-utf8
utf8 library bindings for defold
https://github.com/d954mas/defold-utf8
Last synced: 4 months ago
JSON representation
utf8 library bindings for defold
- Host: GitHub
- URL: https://github.com/d954mas/defold-utf8
- Owner: d954mas
- License: mit
- Created: 2019-12-31T08:05:44.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-03-29T07:27:48.000Z (10 months ago)
- Last Synced: 2024-03-29T08:32:52.517Z (10 months ago)
- Language: C
- Size: 39.1 KB
- Stars: 22
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-defold - UTF8 - 8 support to Lua. (Libraries / Programming Language)
README
# UTF8
utf8 library bindings for defold
https://github.com/starwing/luautf8I 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.[![](https://c5.patreon.com/external/logo/become_a_patron_button.png)](https://www.patreon.com/d954mas)
[!["Buy Me A Coffee"](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png)](https://www.buymeacoffee.com/d954mas)
## 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`