> > I see that the data argument to "new_from_data()" is specified as a > utf-8 char array, but the contents of the PDF files (those that use > compressed blocks) are not actually straight UTF-8. Is it possible > that perl-G:I:O sees the specs and is forcing UTF-8 encoding on the > data at some point?
If I futz with the .gir and change the new_from_data() "data" parameter type to a guint8 array (and then pass it a character array ref) I can load and read the page number from most of the files that were previously throwing errors. Then the script segfaults almost every time... _______________________________________________ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list