<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../style.css">
<title>
Gambas Documentation - UTF-8
</title>
</head>
<table class="none" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr><td align="left">
<font size="-1">
<a href="../../help+en"><img class="flag" alt="Home" border="0" src="../../img/lang/en.png" align="center"></a>&nbsp;
<a href="../def+en">Up</a>&nbsp;
<a href="translate+en">Previous</a>&nbsp;
<a href="virtual+en">Next</a>&nbsp;
</td></tr></table>
<div class="notab">
<h1>
UTF-8
</h1>
UTF-8 is the name of the charset used by <a href="gambas+en">Gambas</a> for coding non-ASCII characters.
<p>
In this charset, each <a href="ascii+en">ASCII</a> character keeps its code, and each non-ASCII character is coded with two or more bytes. Consequently, you cannot use standard string functions to deal with UTF-8 strings. You must use the static methods of the <a href="../comp/gb/string+en">String</a> class.
<p>
For more information about UTF-8, look at this
<a href="http+//www.cl.cam.ac.uk/~mgk25/unicode.html">F.A.Q.</a>
<p>
<hr><b>See also</b><br>
<a href="ascii+en">ASCII</a>&nbsp; <a href="../comp/gb/string+en">String</a>&nbsp; <a href="../howto/chinese+en">How To Display a Chinese Character</a>&nbsp;

</div>
</body>
</html>

