[Lazarus] UTF16 2 utf8

Graeme Geldenhuys graemeg.lists at gmail.com
Thu May 5 08:25:53 CEST 2011


On 04/05/2011 17:58, Marc Weustink wrote:
> 
> Till 1996 (Unicode 2.0) you are right. After that date they are equal.

Huh?

Quoted text from the Unicode wikipedia article. Note the last three lines.

"Unicode can be implemented by different character encodings. The most
commonly used encodings are UTF-8 (which uses one byte for any ASCII
characters, which have the same code values in both UTF-8 and ASCII
encoding, and up to four bytes for other characters), the now-obsolete
UCS-2 (which uses two bytes for each character but cannot encode every
character in the current Unicode standard), and UTF-16 (which extends
UCS-2 to handle code points beyond the scope of UCS-2)."


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/





More information about the Lazarus mailing list