Re: cvs: php-gtk-doc /manual/en/reference/gtk gtktextbuffer.xml

From: Date: Mon, 09 May 2005 12:43:27 +0000
Subject: Re: cvs: php-gtk-doc /manual/en/reference/gtk gtktextbuffer.xml
References: 1 2  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1432@lists.php.net to get a copy of this message
Andrei Zmievski wrote:
Are you writing these docs from scratch? It would probably help to borrow some stuff from gtk.org and pygtk.org.
+ <simpara>
+    Text in PHP-GTK 2 is UTF-8. This means that one character can be  encoded
+    as multiple bytes. Character counts are usually referred to as  offsets,
+    while byte counts are called indexes. If you confuse these two,  things
+    will work fine with ASCII, but as soon as your buffer contains  multibyte
+    characters, bad things will happen.
+ </simpara>
This paragraph is taken directly from the gtk.org text widget overview. Scott

« previous php.gtk.doc (#1432) next »