Skip to content

Instantly share code, notes, and snippets.

View jusqua's full-sized avatar
⚠️
404 not found

Ádrian Gama jusqua

⚠️
404 not found
View GitHub Profile
@jusqua
jusqua / README.md
Last active January 7, 2025 11:38
VSCode settings
@jusqua
jusqua / init.lua
Last active June 27, 2024 04:33 — forked from markandgo/utf8.lua
Kyle Smith's utf8.lua with some extra functions adapted to return module
-- Provides UTF-8 aware string functions implemented in pure lua:
-- * utf8len(s)
-- * utf8sub(s, i, j)
-- * utf8reverse(s)
-- * utf8char(unicode)
-- * utf8unicode(s, i, j)
-- * utf8gensub(s, sub_len)
--
-- All functions behave as their non UTF-8 aware counterparts with the exception
-- that UTF-8 characters are used instead of bytes for all units.