Hi all, using the PodViewer widget to display help, I have an encoding problem: I cannot get the widget to correctly display utf8 text. I load the pod from a file which is in utf-8, but it is displayed as iso-8859-1. I also loaded the file into perl first and used $podviewer->load_string($string) but it didn't help. If I display the string (loaded from the pod file) in a regular TextBuffer / TextView, it's correctly displayed; also if I use it as label text or similar. ### Sample script use Gtk2 -init; use Gtk2::Ex::PodViewer; my $viewer = Gtk2::Ex::PodViewer->new; # find mypod.pod attached, hope it's still utf8 after mailing it $viewer->load('mypod.pod'); $viewer->show; my $window = Gtk2::Window->new; $window->add($viewer); $window->show; Gtk2->main; ### Any ideas? Thanks Ben
Attachment:
mypod.pod
Description: Text document