[EP-tech] Re: Publication Details
Field A.N.
af05v at ecs.soton.ac.uk
Mon Feb 23 10:05:07 GMT 2015
Yes, you need to tell perl that the source-code is utf-8. Here's the code you need:
{
use utf8;
$data->{institution} = "카이스트";
}
...note that the curly brackets are important as they limit the lexical scope of the 'use utf8' pragma.
--
Adam Field
Business Relationship Manager and Community Lead
EPrints Services
On 20 Feb 2015, at 08:06, pgasinos pgs wrote:
> 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'.
>
> Kostas
>
> 2015-02-18 14:42 GMT+02:00 Field A.N. <af05v at ecs.soton.ac.uk>:
> Have a look at the eprint_fields_default.pl configuration file in the cfg.d folder of your archive's configuration.
>
> --
> Adam Field
> Business Relationship Manager and Community Lead
> EPrints Services
>
>
>
>
> On 18 Feb 2015, at 11:57, pgasinos pgs wrote:
>
> > In our Institutional Repository, the Publication Details of specific items are every time the same:
> >
> > The Status is always Submitted and the Date Type is always Submission.
> > Is it possible to have default checked the specific values, so nobody forgets to check them?
> >
> > Kostas
> > *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> > *** Archive: http://www.eprints.org/tech.php/
> > *** EPrints community wiki: http://wiki.eprints.org/
> > *** EPrints developers Forum: http://forum.eprints.org/
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: http://www.eprints.org/tech.php/
> *** EPrints community wiki: http://wiki.eprints.org/
> *** EPrints developers Forum: http://forum.eprints.org/
More information about the Eprints-tech
mailing list