utf8

Available since LÖVE 0.9.2
This module is not supported in earlier versions.


This library provides basic support for handling UTF-8 encoded strings. It provides all its functions inside the table returned by require("utf8"). This library does not provide any support for Unicode other than handling UTF-8 encoding. Any operation that needs the meaning of a character, such as character classification, is outside its scope.

You need to require the module like this:

local utf8 = require("utf8")

Reference Manual

For detailed usage, see the reference manual.

See Also


Other Languages