Skip to content

added --strict-utf8 option to convert SQL_ASCII data to UTF8 in Postgres#2

Open
alpianon wants to merge 2 commits intograntm:masterfrom
alpianon:pg-utf8-islegal
Open

added --strict-utf8 option to convert SQL_ASCII data to UTF8 in Postgres#2
alpianon wants to merge 2 commits intograntm:masterfrom
alpianon:pg-utf8-islegal

Conversation

@alpianon
Copy link

@alpianon alpianon commented Oct 3, 2019

I was in need to convert a Postgres db with SQL_ASCII encoding in UTF8, and I found this blog post
that suggested a modification to fix_latin in order to handle "invalid" UTF-8 characters that may cause postgresql errors during data (re)importing.
I implemented such modification here.

@guillermovil
Copy link

Good morning alpianon, I have tried to implement the changes you made in the code, but I get incorrect results by adding --strict-utf8, can I contact you? my mail is guillermovil in gmail. MUCHAS GRACIAS!!!

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

Successfully merging this pull request may close these issues.

2 participants