Can't import utf8 file with unicode text

Aperta
#7 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
mysql, php
Ambito
data, database

Direzione di ricerca

Reproduce by editing the bundled tests/test.csv to add Greek or Japanese text and uploading it through the plugin's import dialogue, then compare with the umlaut version that works. Start from the code that reads and parses the uploaded CSV, checking how it handles the encoding and the MySQL connection charset. Done when a UTF-8 file with non-Latin text reaches the field-mapping step. The thread has had no reply in over ten years, so confirm the maintainers still accept the fix before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Omeka 1.5.1 and CsvImport v.1.3.3. Collated utf8 MySQL database. Fresh Omeka install.

If I import the bundled tests/test.csv file in the plugin all works correctly. Modifying this sample data to include umlauts works correctly. Modifying data to include Greek or Japanese text results in the test file not being imported. i.e. I'm returned to the import dialogue without having an opportunity to match fields. When the Japanese or Greek text is replaced with Roman text again the file is properly imported by the plugin once more. Test csv file opens as UTF-8 in BBedit and was saved again as such.

Lingua principale
PHP
Stelle
20
Fork
32
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di omeka/plugin-CsvImport

Tutte le issue di omeka/plugin-CsvImport

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.