<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=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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-AU link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Hi Yvonne<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>You can use the <a href="http://wiki.eprints.org/w/Category:EPrints_Metadata_Fields#Ordering.2C_Indexing_and_Searching">make_single_value_orderkey</a> setting to call a function that manipulates the diacritics to get the result you want. We use the following so that diacritics are ignored for ordering purposes:<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'>use Text::Unidecode;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'>sub make_id_orderkey_single<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'>{<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> my ( $self, $value, $session, $langid, $dataset ) = @_;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> # convert to upper case ASCII<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> my $orderkey = uc( unidecode( $value ) );<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> # ignore apostrophes and hyphens<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> $orderkey =~ s/['-]//g;<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> <o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'> return $orderkey<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><span style='font-family:"Courier New";color:#1F497D'>}<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'>Mark<o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] <b>On Behalf Of </b>Budden, Yvonne<br><b>Sent:</b> Wednesday, 3 July 2013 1:20 AM<br><b>To:</b> eprints-tech@ecs.soton.ac.uk<br><b>Subject:</b> [EP-tech] Alphabetised Lists and Diacritics<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span lang=EN-GB>Dear All,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>I wondered if anyone had found a way round this little issue we have been having?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>In any of our alphabetised lists on the system if there is a diacritic in the word being alphabetised it is automatically moved to the bottom of the alphabet rather than being integrated into the list. Please see the author Boris Gänsicke in our author views: <a href="http://wrap.warwick.ac.uk/view/author_id/index.G.html">http://wrap.warwick.ac.uk/view/author_id/index.G.html</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Is there any way to change this so that the system treats the letters with diacritics as the same as the base letters?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Many thanks for any help people can provide,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Yvonne<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Mrs Yvonne Budden,</span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Academic Support Manager (Research), University of Warwick</span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Chair: </span><span lang=EN-GB><a href="http://ukcorr.org/" target="_blank"><span lang=EN-US>UK Council of Research Repositories</span></a></span><span lang=EN-US> (UKCoRR)</span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> </span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Email: </span><span lang=EN-GB><a href="mailto:y.c.budden@warwick.ac.uk" target="_blank"><span lang=EN-US>y.c.budden@warwick.ac.uk</span></a></span><span lang=EN-US> | Tel: <a href="tel:%2B44%202476%205%2075793" target="_blank">+44 2476 5 75793</a> / +44 2476 1 51275 | University of Warwick Library, Gibbet Hill Road, Coventry. CV4 7AL</span><span lang=EN-GB><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-GB>Research Support: <a href="http://www2.warwick.ac.uk/services/library/researchandteaching/">http://www2.warwick.ac.uk/services/library/researchandteaching/</a> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Open Access Support: <a href="http://go.warwick.ac.uk/lib-researchers/authors">http://go.warwick.ac.uk/lib-researchers/authors</a> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Warwick Research Archive Portal (WRAP): <a href="http://wrap.warwick.ac.uk">http://wrap.warwick.ac.uk</a> <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB>Submit your paper to WRAP: <a href="http://go.warwick.ac.uk/irsubmit">http://go.warwick.ac.uk/irsubmit</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-GB><o:p> </o:p></span></p></div></body></html>