daptal has asked for the wisdom of the Perl Monks concerning the following question:
However while doing the copy to the db i get the errors like$dbh->{pg_enable_utf8}=1; $dbh->do("SET client_encoding TO 'UTF8'") or die "could not set the cl +ient_encoding to UTF8 for $db_host $!";
and the culprit keywords look like thisDBD::Pg::db pg_endcopy failed: ERROR: character 0xd7a4 of encoding "U +TF8" has no equivalent in "LATIN1" DBD::Pg::db pg_endcopy failed: ERROR: character 0xe4bea1 of encoding +"UTF8" has no equivalent in "LATIN1"
ืครืกรืง ืครืกรืง ืครืกรืง รยฉรยงรรืครยจ รยฉรยงรรืครยจ รยฉรยงรรืฉร รยฉรยงรรืฉร รยฉรยงรรย รยช รร รยฉรยงรรย ื รยช รยฉรยงรรย ื รยชMy question is how can i grep for these kind of keywords. I have checked the same keywords copy to a db set to SQL_ASCII and it works fine.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: encoding issues
by graff (Chancellor) on Aug 31, 2010 at 02:29 UTC | |
|
Re: encoding issues
by moritz (Cardinal) on Aug 31, 2010 at 07:31 UTC | |
|
Re: encoding issues
by aquarium (Curate) on Aug 31, 2010 at 05:07 UTC |