Demosthenes, I think it is because Greek letters are unicode characters and unicode characters count as double and therefore any split will be difficult to work with the usual string manipulation functions
The recommended way to split a string including unicode characters according to the documentation, in this page http://www.gambasdoc.org/help/cat/string is to use the String class. The String Class is described in this part of the documentation http://www.gambasdoc.org/help/comp/gb/string I hope this helps Keep up the good work Regards, Dimitris 2010/1/21 Demosthenes Koptsis <[email protected]> > Hi, > > i use ubuntu 9.10 with gambas 2.13 > > i have a TextBox and insert Greek letters > i get its string and split it in an array > > but i get this error > > Anagramatismos:7312): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: > assertion `g_utf8_validate (text, len, NULL)' failed > > and the program do nothing. > > instead in English strings work fine. > > what is this? > > > -- > > Γεια χαρα σε όλους!!! > > Regards, > > Demosthenes Koptsis > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for > Conference > attendees to learn about information security's most important issues > through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
