<div dir="ltr"><div><div>Thank you Adam<br><br></div>You really helped me a lot. It worked perfectly. :)<br><br></div>Kostas <br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-23 12:05 GMT+02:00 Field A.N. <span dir="ltr"><<a href="mailto:af05v@ecs.soton.ac.uk" target="_blank">af05v@ecs.soton.ac.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Yes, you need to tell perl that the source-code is utf-8. Here's the code you need:<br>
<br>
<br>
{<br>
use utf8;<br>
$data->{institution} = "카이스트";<br>
}<br>
<br>
...note that the curly brackets are important as they limit the lexical scope of the 'use utf8' pragma.<br>
<span class="im HOEnZb"><br>
--<br>
Adam Field<br>
Business Relationship Manager and Community Lead<br>
EPrints Services<br>
<br>
<br>
<br>
<br>
</span><div class="HOEnZb"><div class="h5">On 20 Feb 2015, at 08:06, pgasinos pgs wrote:<br>
<br>
> Thank you Adam for your support. I have one more question about default values. I want a text to be the default value of a text box for example $data->{institution} = "University of Southampton"; Instead of University of Southampton of course I want to use my Institution name in utf-8. I tried to use Greek Characters for value and the result was something like that: "Τ�� ���ική� �ακεδονία�". Is it possible to force the use of encoding='utf-8'.<br>
><br>
> Kostas<br>
><br>
> 2015-02-18 14:42 GMT+02:00 Field A.N. <<a href="mailto:af05v@ecs.soton.ac.uk">af05v@ecs.soton.ac.uk</a>>:<br>
> Have a look at the <a href="http://eprint_fields_default.pl" target="_blank">eprint_fields_default.pl</a> configuration file in the cfg.d folder of your archive's configuration.<br>
><br>
> --<br>
> Adam Field<br>
> Business Relationship Manager and Community Lead<br>
> EPrints Services<br>
><br>
><br>
><br>
><br>
> On 18 Feb 2015, at 11:57, pgasinos pgs wrote:<br>
><br>
> > In our Institutional Repository, the Publication Details of specific items are every time the same:<br>
> ><br>
> > The Status is always Submitted and the Date Type is always Submission.<br>
> > Is it possible to have default checked the specific values, so nobody forgets to check them?<br>
> ><br>
> > Kostas<br>
> > *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> > *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
> > *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
> > *** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><br>
><br>
><br>
> *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
> *** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><br>
><br>
> *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
> *** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
> *** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
> *** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><br>
<br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" target="_blank">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="http://www.eprints.org/tech.php/" target="_blank">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="http://wiki.eprints.org/" target="_blank">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="http://forum.eprints.org/" target="_blank">http://forum.eprints.org/</a><br>
</div></div></blockquote></div><br></div>