Comments (7)
Essaie d'encoder ton fichier en UTF-8 avant et dis-moi.
Faut qu'on voie comment être un peu plus malin sur l'encodage, mais pour le coup avec du CSV c'est pas évident d'être fin…
from addok.
En UTF8, le "è" devient "è" (et plus "�") dans le fichier en sortie.
Mais le géocodage a fonctionné !
[Edit]
En fait, c'est bon : quand je l'ouvre avec Excel, qui ne propose pas de choisir l'encodage, le fichier de sortie est mal encodé. Mais si je l'ouvre avec Calc, et que je spécifie UTF-8, c'est bon, le fichier est bien encodé.
Si ça peut faire avancer !
[/Edit]
from addok.
Oui, ça colle. Pour l'instant on ne supporte que l'UTF-8.
from addok.
OK.
Je sais pas si ça peut être utile, mais comme il y a beaucoup d'utilisateurs de Microsoft Excel (je sais, c'est mal), ça serait peut-être pratique, dans le fichier en sortie, d'utiliser cette ruse pour qu'excel charge directement en UTF-8 : http://www.ygi.ch/forcer-ouverture-fichier-csv-utf-8-excel/
(ajouter le caractère “BOM UTF-8″, non imprimable, au début du fichier)
Sinon, il serait aussi utile de préciser dans l'application que les données en entrée doivent être dans cet encodage.
Merci à vous.
Sylvain M.
from addok.
@sylvain-m je viens d'ajouter le BOM, à l'occasion tu peux retester depuis Excel voir s'il couine? Merci :)
from addok.
Testé ce jour, mais malheureusement, Excel (Office 2007 Pro me concernant) ne comprends toujours pas que c'est de l'UTF-8...
Mais bon, Open Office s'en sort très bien, donc pas de souci insurmontable.
from addok.
On peut maintenant préciser l'encodage: http://adresse.data.gouv.fr/csv/ :)
from addok.
Related Issues (20)
- Ajoût d'un healthcheck pour le fonctionnement dans un environnement kubernetes HOT 2
- Create a CI for test automation HOT 4
- addok-france: add "crs" abbreviation for "cours" HOT 6
- distance search configuration
- test_create_edge_ngrams fails on macOS HOT 1
- Re-implement multiprocessing for macOS
- Redis 6.2+ geo indexes
- Problème d'emballement de redis HOT 2
- Installation instruction : use python-venv instead of python-virtualenv
- #553 issue not resolved yet HOT 11
- Add result_type support to csv geocoding HOT 2
- Addok lets you index some data that will cause a Python error during a search... HOT 2
- Uncompatible version of addok-csv 1.1.0 with current addok 1.1.1 and falcon 3.1.1 HOT 2
- cd
- différences de score entre le endpoint /csv et le endpoint search/ HOT 2
- For multiple postcodes, score should not depend of the postcode
- Problematic behavior with street names that start with a number (when this number is also one of its housenumbers) HOT 1
- contos7报错-bash: venv/bin/activate: No such file or directory
- Python 3.12 / editdistance-0.6.2 installation error HOT 2
- BAN CSV geocoding linked to multipart form boundary
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from addok.