mobile
# do...@uta.edu
# http://rocky.uta.edu/doran/
-Original Message-
From: Smith,Devon [mailto:smit...@oclc.org]
Sent: Tuesday, July 31, 2012 8:26 AM
To: William Dueber; Shelley Doljack
Cc: perl4lib@perl.org
Subject: RE: printing UTF-8 encoded MARC records with as_usmarc
I just
-Original Message-
From: Shelley Doljack [mailto:sdolj...@stanford.edu]
Sent: 31 July 2012 20:18
The problem was I wasn't telling perl to output UTF-8. Now that I added
binmode(FILE, ':utf8') to my script, the problem is fixed. However, it sounds
like once I set binmode to UTF-8
On Tue, Jul 31, 2012 at 09:25:55AM -0400, Smith,Devon wrote:
I just recently came across this presentation which lays out pretty much all
the issues with Unicode in perl, and makes some recommendations for best
practices. You may find some general insight into the whole situation by
going
Subject: Re: printing UTF-8 encoded MARC records with as_usmarc
First off, it's entirely possible that you have bad UTF-8 (perhaps rogue
MARC-8, perhaps just lousy characters) in your MARC. I know we have plenty
of that crap.
You need to tell perl that you'll be outputting UTF-8 using 'bincode
To: Shelley Doljack sdolj...@stanford.edu
Cc: perl4lib@perl.org
Sent: Monday, July 30, 2012 5:13:41 PM
Subject: Re: printing UTF-8 encoded MARC records with as_usmarc
First off, it's entirely possible that you have bad UTF-8 (perhaps
rogue MARC-8, perhaps just lousy characters) in your MARC. I know we
On Wed, Aug 1, 2012 at 12:47 AM, Shelley Doljack sdolj...@stanford.eduwrote:
The problem was I wasn't telling perl to output UTF-8. Now that I added
binmode(FILE, ':utf8') to my script, the problem is fixed. However, it
sounds like once I set binmode to UTF-8 everything will be interpreted as
Hi,
I wrote a script that extracts marc records from a file given certain
conditions and puts them in a new file. When my input record is correctly
encoded in UTF-8 and I run my script from windows command prompt, this warning
message appears: Wide character in print at record_extraction.pl
First off, it's entirely possible that you have bad UTF-8 (perhaps rogue
MARC-8, perhaps just lousy characters) in your MARC. I know we have plenty
of that crap.
You need to tell perl that you'll be outputting UTF-8 using 'bincode'
binmode(FILE, ':utf8');
In general, you'll want to do this to