Comments (3)
Ack! Great find @claytonjacobs ! What do you think, should we find and replace those characters or just strip them? The © symbol seems superfluous. The other symbols might be mdashes (—) so could probably be replaced with regular hyphens.
This does cause some concern for future Unicode (like Korean characters). We'll have to be vigilant about making sure those don't get stripped or modified in the future. Not sure how we accomplish that yet though...
from openbrewerydb.
@chrisjm superfluous for sure. Excuse me for my ignorance, but is there any data validation when someone adds to the dataset? Could we just (for now) only strip/replace these characters if country == "United States".
from openbrewerydb.
@claytonjacobs We do some validation (https://github.com/openbrewerydb/openbrewerydb/blob/master/src/validate-csv.ts) so that would definitely be the place to do it.
I think I want to do more research on why this happens. My assumption is decoding from Unicode to ASCI and then back again. So maybe we just want to ensure the file type is Unicode? Would be nice to find another project that's run into this problem and see how they handle it.
Anyway, the short term is to just manually correct, which I'll take care of soon.
from openbrewerydb.
Related Issues (20)
- Question: How to handle closed breweries? HOT 4
- BREAKING CHANGES: Update database schema HOT 7
- International translations
- Add Cloudflare Cache Cleaner Github Action HOT 1
- Github Action > Update Open Brewery DB API HOT 6
- OpenStreetMap database ? HOT 1
- Broken search by keyword and autocomplete queries HOT 2
- 🇬🇧 UK Schema HOT 6
- Import: CSV
- Add Contributors HOT 10
- Add gzipped versions of datasets HOT 1
- ArcGIS REST Service HOT 15
- Replace `frictionless` with `csv-file-validator`
- Add US Census data
- Add Breweries with missing/not enough data HOT 7
- CLI tool to create obdb_id
- Discussion: Scraping for brewery data
- Fix how international phone numbers are handled HOT 7
- Add Brewery Data Change Manager
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 openbrewerydb.