[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] UTF
- Subject: [EP-tech] UTF
- From: matthew.kerwin at qut.edu.au (Matthew Kerwin)
- Date: Tue, 2 May 2017 23:06:54 +0000
- In-reply-to: <EMEW3|8d9477eac381515497c8fea569a966d6y41F7U14eprints-tech-bounces|ecs.soton.ac.uk|CADUeXC6+j47oTuw49Znz5w2qo-Tk2ijjGsi3Fm=eyVK3JLUZKQ@mail.gmail.com>
- References: <CADUeXC6+j47oTuw49Znz5w2qo-Tk2ijjGsi3Fm=eyVK3JLUZKQ@mail.gmail.com> <EMEW3|8d9477eac381515497c8fea569a966d6y41F7U14eprints-tech-bounces|ecs.soton.ac.uk|CADUeXC6+j47oTuw49Znz5w2qo-Tk2ijjGsi3Fm=eyVK3JLUZKQ@mail.gmail.com>
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
--
<http://staff.qut.edu.au/details?id=kerwinm> Matthew Kerwin | ITS-EIS:AS:LS | <https://map.what3words.com/cards.reader.steer> KG-SYN | QUT
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at 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 (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/20170502/a58b0a4b/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4845 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170502/a58b0a4b/attachment-0001.bin
- References:
- [EP-tech] UTF
- From: mario.santanche at uniroma1.it (Mario Santanche)