[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] UTF



Yeah! I followed your tips!
I've just saved my subjects file as utf8 and it works.
Thank you so much,
Mario

2017-05-03 1:06 GMT+02:00 Matthew Kerwin <matthew.kerwin at qut.edu.au>:

> Sounds like you have a letter ??? in your subjects file?  If the file is
> saved as one of the Latin-1 family of encodings (ISO-8859-*x*,
> Windows-1252, etc.) that letter will be encoded as the byte E0.  EPrints
> wants the file saved as UTF-8, in which case the letter will be encoded as
> the bytes C3 A0.
>
>
>
> I?m not sure how to tell your editor to save the file using a different
> encoding, but that?s likely what you have to do.
>
>
>
> Cheers
>
> --
>
> *Matthew Kerwin <http://staff.qut.edu.au/details?id=kerwinm>*
> | ITS-EIS:AS:LS | *KG-SYN <https://map.what3words.com/cards.reader.steer>*
>  | QUT
>
>
>
> *From:* eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces@
> ecs.soton.ac.uk] *On Behalf Of *Mario Santanche
> *Sent:* Wednesday, 3 May 2017 00:04
> *To:* eprints-tech at ecs.soton.ac.uk
> *Subject:* [EP-tech] UTF
>
>
>
>
> Dear all,
>
> I've modified the file </usr/share/eprints3/archives/ssab/cfg/subjects>
> with a new hierarchy.
>
> Then I used "/usr/share/eprints3/bin/import_subjects <archive id>" for
> import my new list of subjects, but I've a problem with UTF. This is the
> error:
>
> utf8 "\xE0" does not map to Unicode at /usr/share/eprints3/perl_lib/
> EPrints/Plugin/Import/FlatSubjects.pm line 44, <$fh> line 57.
>
> My archive is still empty (I'm a newbie of Eprints!) and I can destroy it.
> But how can I avoid problems before I recreate it?
>
> Many thanks,
>
> Mario Santanch?
>
>
>
> --
>
> *Dipartimento di Scienze documentarie, linguistico-filologiche e
> geografiche*
>
> *Biblioteca. Sezione di Scienze documentarie*
>
> *SAPIENZA*
>
> Universit? di Roma
>
> P.le A. Moro, 5, 00185 Roma
>
> T (+39) 06 49693346 <06%204969%203346> (Int. 33346)
>
> mario.santanche at uniroma1.it
>
>
>
> ___________________________________________
>
> *Il tuo 5 diventa 1000*
>
> Fai crescere la tua universit?
> Dona il 5 per mille alla Sapienza
> Codice fiscale: *80209930587*
>
> *** 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/
>
>


-- 
*Dipartimento di Scienze documentarie, linguistico-filologiche e
geografiche*
*Biblioteca. Sezione di Scienze documentarie*
*SAPIENZA*
Universit? di Roma
P.le A. Moro, 5, 00185 Roma
T (+39) 06 49693346 (Int. 33346)
mario.santanche at uniroma1.it

-- 
___________________________________________
*Il tuo 5 diventa 1000*
Fai crescere la tua universit?
Dona il 5 per mille alla Sapienza
Codice fiscale: *80209930587*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170503/160168e9/attachment.html