EndPointCorp / end-point-blog

End Point Dev blog
https://www.endpointdev.com/blog/
17 stars 65 forks source link

Comments for DBD::Pg 3.0.0 and the utf8 flag #929

Open phinjensen opened 7 years ago

phinjensen commented 7 years ago

Comments for https://www.endpointdev.com/blog/2014/02/dbdpg-utf-8-perl-postgresql/ By Greg Sabino Mullane

To enter a comment:

  1. Log in to GitHub
  2. Leave a comment on this issue.
phinjensen commented 7 years ago
original author: Pavel Stěhule
date: 2014-02-20T00:05:17-05:00

I am very happy with this change - I spent lot of hours to eliminate this unhappy behave in my application - and I didn't believe so relative modern environment can has too strange problems with UTF8.

phinjensen commented 7 years ago
original author: Unknown
date: 2014-03-04T12:57:18-05:00

This comment has been removed by the author.

phinjensen commented 7 years ago
original author: Unknown
date: 2014-03-04T12:58:09-05:00

In one of your code examples you used pg_enable_utf0 and that should be pg_enable_utf8.

People may blindly copy paste and wonder why it doesn't work (even after reading that code it is easy to see a 8 instead of a 0).

phinjensen commented 7 years ago
original author: Greg Sabino Mullane
date: 2014-03-05T16:34:47-05:00

Thanks for catching that, it is now fixed.