EPrints Technical Mailing List Archive

Message: #06471


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] UTF


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@ecs.soton.ac.uk> on behalf of Mario Santanche <mario.santanche@uniroma1.it>
Reply-To: <eprints-tech@ecs.soton.ac.uk>
Date: Tuesday, 2 May 2017 15:03
To: <eprints-tech@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)

 

___________________________________________

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/


  • References:
    • [EP-tech] UTF
      • From: Mario Santanche <mario.santanche@uniroma1.it>