utf8

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


This library provides basic support for UTF-8 encoding. It provides all its functions inside the table utf8. This library does not provide any support for Unicode other than the handling of the 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.


Other Languages