<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello to all,<br>
<br>
We're using the MARC library for some migration, as usual, but we
encountered some new issue with some arabic title: the key code 703
<br>
<table border="2">
<tbody>
<tr>
<td>0x02BF</td>
<td>703</td>
<td>MODIFIER LETTER LEFT HALF RING</td>
<td><font size="+3">ʿ</font></td>
</tr>
</tbody>
</table>
is not part of the Table db, which cause the whole subfield to
disappear and causing us headaches.<br>
<br>
I tried to ignore the unrecognized code using
MARC::Charset->ignore_errors(1); as specified in the comments,
but it crashes immediately after:<br>
<br>
my $code = $table->lookup_by_utf8($slice); <font
color="#990000"> returns undef</font><br>
<br>
if (! $code)<br>
{<br>
warn("no mapping found at position $i in $utf8"); <br>
reset_charsets() and return unless $ignore_errors; <font
color="#990000"> do not return</font><br>
}<br>
<br>
# if it's a combining character move it around<br>
if ($code->is_combining()) <font color="#990000">
crashes on undef</font><br>
{<br>
<br>
My questions:<br>
- Any way to generate the Table with all the 700s characters?<br>
- Or any way to just avoid the error?<br>
<br>
Thanks,<br>
Philippe<br>
<br>
<br>
<br>
<br>
</body>
</html>