[EP-tech] UTF
Adam Field
adam at adamfield.net
Tue May 2 15:34:52 BST 2017
Hi Mario
This looks like an encoding error. Make sure you’re saving your subjects file as utf8. Your text editor may have allow you to do this through the ‘save as’ function.
Don’t worry about problems beyond this – import_subjects will remove all subjects before reimporting them, so whatever’s in there will be nuked anyway.
--
Adam
From: <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Mario Santanche <mario.santanche at uniroma1.it>
Reply-To: <eprints-tech at ecs.soton.ac.uk>
Date: Tuesday, 2 May 2017 15:03
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 (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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170502/f3cc0339/attachment.html
More information about the Eprints-tech
mailing list