Enrico,
If you suspect that $xml_text is in latin1, maybe you could confirm this by
running it through Encode::Guess and then encoding it to utf8:
http://search.cpan.org/~dankogai/Encode-2.42/lib/Encode/Guess.pm
Mark
- Original Message -
> I don't understand what I am doing wrong, but
Phil,
Have you tried something like this:
http://code.activestate.com/lists/perl-win32-users/30503/
I haven't done this myself, just interested in what you're trying!
Mike
-Original Message-
From: Phil Shirley [mailto:pshir...@cuyahogafallslibrary.org]
Sent: Thursday, March 24, 2011 1
I've written some perl scripts in the past but I've never printed to a
printer, and I'm having trouble getting this to work. I'd be grateful
for any help you could give me.
What I want to do is print to a receipt printer on the parallel port (or
in some cases a USB port) of a PC running Window
Whoops, Sorry to rick for the double-post, but realized I didn't send
my answers to the list directly...
> perl 5.10.0 --
> linux/ ubuntu 2.6.31-19-generic-pae #56-Ubuntu SMP
Ok, that should have some nice unicode options and should be using
unicode internally.
> however, when I use: LWP, and
I don't understand what I am doing wrong, but i must be misusing either
MARC::Record,
or perl's utf-8 support:
I fetch an xml record from oclc worldcat, and turn it into a MARC::Record,
then output it as
perl 5.10.0 --
linux/ ubuntu 2.6.31-19-generic-pae #56-Ubuntu SMP
I'm using the world cat a