projects
/
evergreen
/
masslnc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b81fd28
)
Add MARC::Charset dance to the remaining plperlu function
author
Mike Rylander
<mrylander@gmail.com>
Wed, 4 May 2011 00:06:46 +0000
(20:06 -0400)
committer
Bill Erickson
<berick@esilibrary.com>
Wed, 6 Jul 2011 18:50:51 +0000
(14:50 -0400)
Open-ILS/src/sql/Pg/012.schema.vandelay.sql
patch
|
blob
|
history
diff --git
a/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
b/Open-ILS/src/sql/Pg/012.schema.vandelay.sql
index
c5740d7
..
e639998
100644
(file)
--- a/
Open-ILS/src/sql/Pg/012.schema.vandelay.sql
+++ b/
Open-ILS/src/sql/Pg/012.schema.vandelay.sql
@@
-321,6
+321,10
@@
CREATE OR REPLACE FUNCTION vandelay.flay_marc ( TEXT ) RETURNS SETOF vandelay.fl
use MARC::Record;
use MARC::File::XML (BinaryEncoding => 'UTF-8');
+use MARC::Charset;
+use strict;
+
+MARC::Charset->assume_unicode(1);
my $xml = shift;
my $r = MARC::Record->new_from_xml( $xml );