EPrints Technical Mailing List Archive
Message: #03968
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Publication Details
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Publication Details
- From: pgasinos pgs <pgasinos@gmail.com>
- Date: Tue, 24 Feb 2015 10:16:22 +0200
Thank you Adam
You really helped me a lot. It worked perfectly. :)2015-02-23 12:05 GMT+02:00 Field A.N. <af05v@ecs.soton.ac.uk>:
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@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/
*** 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/
- References:
- [EP-tech] Re: Publication Details
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Publication Details
- From: pgasinos pgs <pgasinos@gmail.com>
- [EP-tech] Re: Publication Details
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Publication Details
- From: pgasinos pgs <pgasinos@gmail.com>
- [EP-tech] Re: Publication Details
- Prev by Date: [EP-tech] [Minor packaging bug] Please add dependency on libconfig-general-perl to Debian package
- Next by Date: [EP-tech] Re: Populating Eprints Repository with data from an OAI Data Provider
- Previous by thread: [EP-tech] Re: Publication Details
- Next by thread: [EP-tech] Bazaar command line install
- Index(es):