Date: Fri, 11 Apr 2003 15:45:05 +0200 From: Maxence Guesdon To: lablgtk at kaba.or.jp Subject: Re: Problems using the new view widget Message-Id: <20030411154505.0a899eac.maxence.guesdon at inria.fr> In-Reply-To: <20030411152228.3a45a003.maxence.guesdon at inria.fr> References: <20030411152228.3a45a003.maxence.guesdon at inria.fr> Organization: INRIA Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > Hello, >=20 > I try to replace all my beloved GEdit.text widgets with using the new > GText.view.=20 >=20 > But when I try to change the content of the buffer, this way: >=20 > view#buffer#insert "une lettre accentu=E9e"; >=20 > I get the following exception: > Fatal error: exception Gtk.Critical("file gtktextbuffer.c: line 543 > (gtk_text_buffer_emit_insert): assertion `g_utf8_validate (text, len, NUL= L)' > failed") >=20 > Am I missing something ? > In the example/text/text-demo.ml, my '=E9' gives the same error when I ad= d it > to a string inserted in the buffer. >=20 > How can I display this kind of character ? It worked before :-( Ok, Thanks to Olivier Andrieu I read the README file :-) --=20 Maxence Guesdon