Skip to content
This repository has been archived by the owner on Feb 14, 2018. It is now read-only.

A Python script to check the UTF8 compliance of character strings in a PostgreSQL database.

License

Notifications You must be signed in to change notification settings

aweber/pg-utf8-audit-original

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

utf8-audit

A Python script to check the UTF8 compliance of character strings in a PostgreSQL database. If the string fails the UTF8 check the script attempts to decode it using Latin1, then re-encode it as UTF8. A PostgreSQL-compliant UPDATE statement is generated and logged. It may optionally be applied automatically, but that is not recommended.

Dependencies

The script depends on the db functions in the SQL directory of https://github.com/aweber/pg-utf8-transcoder. Download that project and follow the README to install the functions.

About

A Python script to check the UTF8 compliance of character strings in a PostgreSQL database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published