we've seen sip clients in the field that do not handle unicode very well. until...
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Jan 2009 19:05:53 +0000 (19:05 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 26 Jan 2009 19:05:53 +0000 (19:05 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@11977 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/SIP/Item.pm

index 3e3f7b9..2b60b57 100644 (file)
@@ -146,7 +146,9 @@ sub id {
 
 sub title_id {
     my $self = shift;
-    return ($self->{mods}) ? $self->{mods}->title : $self->{copy}->dummy_title;
+    my $t =  ($self->{mods}) ? $self->{mods}->title : $self->{copy}->dummy_title;
+    $t =~ s/\pM+//og;
+    return $t;
 }
 
 sub permanent_location {