On Mon, 6 Dec 2004 08:54:21 -0600
"Doran, Michael D" <[EMAIL PROTECTED]> wrote:
> The original record from John Hammer did not contain UTF-8, it contained
> MARC-8. I believe that the fact that the combining MARC-8 characters
> were replaced by a generic replacement character only indicates that the
> app he was using to view the data (post processing by MARC::Record) was
> using a character set in which hex E5 and F2, encoded as single octets,
> were not valid characters in that app's character set. That app's
> character set was apparently Unicode (UTF-8) and so E5 and F2 were
> replaced by U+FFFD. That's the long way of saying that the patch should
> work fine in his case. :-)
>
You are correct in assuming the locale environment is set up for UTF-8 on my
computer. However, that wouldn't explain why the record is different
pre-processing vs. post-processing with MARC::Record. Viewing the two records
with the same app (in this case vi) gives different results, both incorrect.
I tried changing the locale to ISO-8859-1 but that was no help. Does this mean
I am unable to programmatically modify records that come to me in MARC-8?
An interesting discussion. Thanks to all for your input.
--
********************************************
John C. Hammer, MMus, MLIS
Automation Librarian
Library and Media Services
San Antonio College
1001 Howard St.
San Antonio, TX 78212
(210)733-2669 (v) (210)733-2597 (f)
[EMAIL PROTECTED]
********************************************