comp.lang.ada
 help / color / mirror / Atom feed
From: jan.de.kruyf@gmail.com
Subject: Re: gtkada: CAIRO_STATUS_INVALID_STRING
Date: Thu, 19 Mar 2015 01:01:12 -0700 (PDT)
Date: 2015-03-19T01:01:12-07:00	[thread overview]
Message-ID: <a9908146-1504-44a1-a438-6e7e48d12caa@googlegroups.com> (raw)
In-Reply-To: <cmukreFfl6qU1@mid.individual.net>

On Thursday, March 19, 2015 at 2:50:56 AM UTC+2, hreba wrote:
> I concatenate some strings created with Integer'Image and print them to 
> the screen with Cairo.Show_Text. A subsequent call to Cairo.Status 
> returns CAIRO_STATUS_INVALID_STRING. Calling Cairo.Show_Text with String 
> literals works fine.
> 
> The comments of Show_Text subprogram say that the argument shall be a
> "NUL-terminated string of text encoded in UTF-8, or Null_Ptr". Appending 
> ASCII.NUL did not help. So what can I do to make the String UTF-8?
> 
> I am using the actual Ubuntu repository for Linux and GNAT GPL 2012 for 
> Windows, both with libgtkada2.24.
> -- 
> Frank Hrebabetzky		+55 / 48 / 3235 1106
> Florianopolis, Brazil


google is your friend!!

http://lists.adacore.com/pipermail/gtkada/2003-March/002102.html

cheers,
j.


  reply	other threads:[~2015-03-19  8:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19  0:50 gtkada: CAIRO_STATUS_INVALID_STRING hreba
2015-03-19  8:01 ` jan.de.kruyf [this message]
2015-03-19  8:50 ` Dmitry A. Kazakov
2015-03-19  9:08 ` J-P. Rosen
2015-03-21 19:29 ` hreba
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox