codeforUV / food_resources

A project that aims to increase food access for residents of the Upper Valley region of VT/NH
https://food-resources.herokuapp.com
MIT License
1 stars 6 forks source link

remove empty characters from seeds.csv #40

Closed davekaro closed 4 years ago

davekaro commented 4 years ago

Found some empty characters in the seeds causing the parsing to fail.

Fixes https://github.com/codeforUV/food_resources/issues/39

davekaro commented 4 years ago

Here is a better diff from my machine

diff

bthooper commented 4 years ago

it's weird...that space doesn't show up in my editor....

davekaro commented 4 years ago

Yeah - it's not really a space. It's some kind of unicode empty character. It didn't show in my editor either, but I got it to output in

my rails console. I couldn't even get rid of it in my editor, I had to

create a new file and copy the lines in. I'm curious how you made the file initially? Something injected extra stuff along the way

On October 22, 2020, GitHub notifications@github.com wrote:

it's weird...that space doesn't show up in my editor....

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/codeforUV/food_resources/pull/40#issuecomment- 714598994, or unsubscribe https://github.com/notifications/unsubscribe- auth/AAAFGD3U4YE33UEILPRXC7TSMBKLTANCNFSM4S3M7REA.

bthooper commented 4 years ago

ah....weird...thanks...

I stupidly cut and copied some of that stuff directly from the VT food bank web site...so I must have got something that way...but weird that it didn't show up at all.....so sorry.

davekaro commented 4 years ago

No need to apologize! Very sneaky bug.