Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgsanity should work sanely when encountering a unicode BOM #5

Open
markdrago opened this issue Dec 17, 2012 · 1 comment
Open

pgsanity should work sanely when encountering a unicode BOM #5

markdrago opened this issue Dec 17, 2012 · 1 comment

Comments

@markdrago
Copy link
Owner

ecpg, the program which pgsanity depends on, chokes on a unicode BOM (https://en.wikipedia.org/wiki/Byte_order_mark). Pgsanity should strip out unicode BOMs before sending the text off to ecpg.

@jayvdb
Copy link

jayvdb commented Jul 29, 2019

At least for file opens, https://github.com/timrburnham/bom_open/ might be a nice way to solve the problem. Note that we've fixed a few bugs since the last release, so it would be worth waiting until the next release is cut, which should be soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants