bullet-train-pro / bullet_train-action_models

Other
4 stars 1 forks source link

remove bom #70

Closed phillipn closed 1 year ago

phillipn commented 1 year ago

Sebastian let us know that Excel files have issues uploading, perhaps that is due to the dreaded BOM character.

In sidekiq, we see a lot of these failures, KeyError: key not found: "\xEF\xBB\xBFFirst Name" Did you mean? "First Name".

This is the bugsnag, https://app.bugsnag.com/etison-llc/admin/errors/642f2e30000e820009c84816?filters[event.since]=all&filters[app.release_stage]=myclickfunnels.com&filters[event.severity][]=error&filters[event.severity][]=warning&filters[event.unhandled]=true&filters[search]=KeyError

More reading, https://stackoverflow.com/questions/5011504/is-there-a-way-to-remove-the-bom-from-a-utf-8-encoded-file