in reply to Matching alphabetic diacritics with Perl and Postgresql
Hi, I'm not a Pg user but:
What's the character encoding used for the DB table? Does it match what the client_encoding variable is set to? Is your CSV data read in as UTF-8? It sounds like part of your system is not set up to handle high unicode characters (which is what I think you mean by "alphabetic diacritics").
Also, why are you checking for dupes in the Perl code? The database should handle that, with a clause like "if not exists" or something like that (I don't know if Pg, like MySQL, offers "insert ... on duplicate key update ..." syntax).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Matching alphabetic diacritics with Perl and Postgresql
by anonymized user 468275 (Curate) on Jun 04, 2017 at 11:29 UTC | |
by Tux (Canon) on Jun 04, 2017 at 11:37 UTC | |
by anonymized user 468275 (Curate) on Jun 04, 2017 at 13:01 UTC | |
by Tux (Canon) on Jun 04, 2017 at 20:31 UTC | |
by 1nickt (Canon) on Jun 04, 2017 at 13:49 UTC | |
|
Re^2: Matching alphabetic diacritics with Perl and Postgresql
by anonymized user 468275 (Curate) on Jun 03, 2017 at 19:48 UTC |