utf8 issues in Scintilla(again)
| From: | Fernando Correa da Conceição | Date: | Sun, 02 Jul 2006 17:59:37 +0000 |
| Subject: | utf8 issues in Scintilla(again) | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-3182@lists.php.net to get a copy of this message | ||
I have posted a issue in utf8 in scintilla and Anant commited a patch.
But that path generates a new error.
Please commit this to scintilla.overrides
%%
override gtk_scintilla_set_text
static PHP_METHOD(GtkScintilla, set_text)
{
char *text;
zend_bool free_text = FALSE;
NOT_STATIC_METHOD();
if (!php_gtk_parse_args(ZEND_NUM_ARGS(), "s", &text, &free_text))
return;
gtk_scintilla_set_text(GTK_SCINTILLA(PHPG_GOBJECT(this_ptr)), text);
if (free_text) g_free(text);
}
I will work now in the other functions, as this may happen in all functions
from scintilla which accept a string as argumment.
_______________________________________________________
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho
agora!
http://br.mobile.yahoo.com/mailalertas/