[Lazarus] g_variant_new_string: assertion `g_utf8_validate (string, -1, NULL)' failed

ik idokan at gmail.com
Wed Dec 14 16:02:07 CET 2011


Hello,

I've created a short
example<https://github.com/ik5/libnotify-fpc/blob/master/tests/test_notify.lpr>to
display how to use libnotify in Pascal.
The problem is that I'm getting the following exception:

(process:7633): GLib-CRITICAL **: g_variant_new_string: assertion
`g_utf8_validate (string, -1, NULL)' failed
(process:7633): GLib-CRITICAL **: g_variant_new_string: assertion
`g_utf8_validate (string, -1, NULL)' failed
(process:7633): GLib-CRITICAL **: g_variant_new_string: assertion
`g_utf8_validate (string, -1, NULL)' failed

The text as you can see, is pure "ASCII", so what am I missing or doing
wrong here ?

Ido
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111214/3bf54cfd/attachment-0002.html>


More information about the Lazarus mailing list