Difference between revisions of "utf8"

(Init utf8 module page)
 
m
Line 1: Line 1:
 
{{newin|[[0.9.2]]|092|type=module}}
 
{{newin|[[0.9.2]]|092|type=module}}
  
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.
+
This library provides basic support for UTF-8 encoding. It provides all its functions inside the table returned when the library is <code>required</code>. 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:
 
You need to require the module like this:

Revision as of 04:35, 7 March 2015

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 returned when the library is required. 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