<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Tahoma",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Tahoma",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Tahoma",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-CA" link="#0563C1" vlink="#954F72">
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970; background-color:#F7F9FA; color:#8D3970; font-size:14px; line-height:22px; font-family: Calibri, Arial, Helvetica, sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div class="WordSection1">
<p class="MsoNormal">Good afternoon!<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I&#8217;m trying to troubleshoot an issue with exporting out a deposited file that has an apostrophe in the filename.<o:p></o:p></p>
<p class="MsoNormal">This is the issue: <a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Feprintsug%2FEPrintsArchivematica%2Fissues%2F40&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb4fa08abbe634af73bb308d9f4b020fc%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637809860158051531%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rq2eXu%2F14NNKFf%2B4w5%2BO5PGXfBIow3uiY%2BUHn8HfxpQ%3D&amp;reserved=0" originalSrc="https://github.com/eprintsug/EPrintsArchivematica/issues/40" shash="lAl/8+p6JgvAfHhT5nRS9IH7ny4ldTc47bTpZNq5AmuWMegLZVn3vbh/K3Uq7dYZs/e4+BFlnDzNGU0pLuy8E8zX42T853Mg3Hf72JlM7AF5cmaz6Zxpwy+Y7+Uy4ztCOZSVZnttpL4Ng4OBRVJQdLUntsgyPZklElij+6WOizY=">
https://github.com/eprintsug/EPrintsArchivematica/issues/40</a><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Does EPrints replace apostrophes in filenames on disk with <span style="font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292F;background:white">
=0027?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292F;background:white">Where in the code does that happen?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292F;background:white">The URL of the file has the apostrophe, for example:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:&quot;Segoe UI&quot;,sans-serif;color:#24292F;background:white"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fspectrum.library.concordia.ca%2Fid%2Feprint%2F7066%2F1%2FServices_techniques_a_l%27Universite_Concordia.pdf&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cb4fa08abbe634af73bb308d9f4b020fc%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637809860158051531%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=98qmS5RaI8FoLxaS65ZaiSd53r1TpeS4FgA%2F2%2BZcIqw%3D&amp;reserved=0" originalSrc="https://spectrum.library.concordia.ca/id/eprint/7066/1/Services_techniques_a_l'Universite_Concordia.pdf" shash="cotamHZDtknKhcNNZsM+P99Ymn2gtGwzLcXgVwTn0sf3Uw7NG1SlVL7sHw1H6gEa0U8vtUqg1a+F9Rf0axHUmSzXoK1B2d0yqG2D4nKBmF/1cn7FBiiS0d5RGAaIhLjU2lxUlw+w9M3XqtqZ6OEka7Qk29wovFas0FLNIvfD9vU=">https://spectrum.library.concordia.ca/id/eprint/7066/1/Services_techniques_a_l'Universite_Concordia.pdf</a><o:p></o:p></span></p>
<p class="MsoNormal">But unlike other Unicode characters, the apostrophe doesn&#8217;t make it into the file name on disk, and is substituted with =0027.<o:p></o:p></p>
<p class="MsoNormal">I&#8217;m looking for confirmation that this is how it is &#8220;supposed&#8221; to work, and for an understanding where this happens in the code, so that I might ultimately know how many OTHER characters are replaced in this way in the filename?<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Tomasz<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>