EPrints Technical Mailing List Archive

Message: #06472


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

Re: [EP-tech] UTF


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 | ITS-EIS:AS:LS | KG-SYN | QUT

 

From: eprints-tech-bounces@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@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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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