Changes

Jump to navigation Jump to search

string.uchar

155 bytes added, 12:43, 21 December 2011
Line 2: Line 2:     
Unicode characters may be  included in strings by encoding them in  UTF-8. This routine converts one  or more Unicode character numbers into  a UTF-8 string.  
 
Unicode characters may be  included in strings by encoding them in  UTF-8. This routine converts one  or more Unicode character numbers into  a UTF-8 string.  
 +
    
{{Since|3.0}}
 
{{Since|3.0}}
    
== Syntax  ==
 
== Syntax  ==
'''functionName'''(ChNum[, ...])  
+
'''string.uchar'''(ChNum[, ...])  
    
{| class="wikitable"
 
{| class="wikitable"
Line 25: Line 26:  
a_ring  = string.uchar(229)
 
a_ring  = string.uchar(229)
 
e_acute = string.uchar(233) -- é
 
e_acute = string.uchar(233) -- é
 +
e_grave = string.uchar(232) -- è
 
o_acute = string.uchar(243)  
 
o_acute = string.uchar(243)  
 
o_circ  = string.uchar(244) -- ô
 
o_circ  = string.uchar(244) -- ô
Line 34: Line 36:  
</syntaxhighlight>
 
</syntaxhighlight>
    +
A unicode numbers table can be found here : http://fr.wikipedia.org/wiki/Table_des_caract%C3%A8res_Unicode_(0000-0FFF).
    
<br /><br />
 
<br /><br />
    
[[Category:Extended Standard Library]]
 
[[Category:Extended Standard Library]]

Navigation menu