Dancer::Plugin::Database 1.11_01 adds automatic UTF-8 enabling - testers wanted
Hi all, Firstly, I released Dancer::Plugin::Database 1.11 tonight containing bugfixes, mainly for the new quick_select() method. I've also a new developer version, 1.11_01, which contains code to automatically enable UTF-8 support if the application's charset setting is set to UTF-8 (default for newly-scaffolded apps) and the database engine is one for which the code knows how to enable UTF-8 support (it's database driver-dependent). It should currently work for SQLite, Postgres and MySQL. I would greatly appreciate if anyone who is working with UTF-8 data in their database could give this a try and drop me a mail to let me know how it works for you, and whether you have any problems. There's a new config setting in case anyone needs to disable this behaviour - setting auto_utf8 to a false value will disable it. I thought long and hard about this, and I think the expected behaviour is that it should Just Work, so having it enabled by default seems the appropriate choice to me. Assuming all is well, I plan to release this as 1.20 some time next week. So, as I said, if you're working with UTF-8 data in your database, I'd greatly appreciate feedback on whether this new feature works well for you. Cheers! Dave P -- David Precious ("bigpresh") http://www.preshweb.co.uk/ "Programming is like sex. One mistake and you have to support it for the rest of your life". (Michael Sinz)
Yep, this version is working fine for me, thanks for fixing it On 18 February 2011 23:38, David Precious <davidp@preshweb.co.uk> wrote:
Hi all,
Firstly, I released Dancer::Plugin::Database 1.11 tonight containing bugfixes, mainly for the new quick_select() method.
I've also a new developer version, 1.11_01, which contains code to automatically enable UTF-8 support if the application's charset setting is set to UTF-8 (default for newly-scaffolded apps) and the database engine is one for which the code knows how to enable UTF-8 support (it's database driver-dependent). It should currently work for SQLite, Postgres and MySQL.
I would greatly appreciate if anyone who is working with UTF-8 data in their database could give this a try and drop me a mail to let me know how it works for you, and whether you have any problems.
There's a new config setting in case anyone needs to disable this behaviour - setting auto_utf8 to a false value will disable it. I thought long and hard about this, and I think the expected behaviour is that it should Just Work, so having it enabled by default seems the appropriate choice to me.
Assuming all is well, I plan to release this as 1.20 some time next week.
So, as I said, if you're working with UTF-8 data in your database, I'd greatly appreciate feedback on whether this new feature works well for you.
Cheers!
Dave P
-- David Precious ("bigpresh") http://www.preshweb.co.uk/
"Programming is like sex. One mistake and you have to support it for the rest of your life". (Michael Sinz)
_______________________________________________ Dancer-users mailing list Dancer-users@perldancer.org http://www.backup-manager.org/cgi-bin/listinfo/dancer-users
On Fri, 2011-02-18 at 21:38 +0000, David Precious wrote:
I've also a new developer version, 1.11_01, which contains code to automatically enable UTF-8 support if the application's charset setting is set to UTF-8 (default for newly-scaffolded apps) and the database engine is one for which the code knows how to enable UTF-8 support (it's database driver-dependent). It should currently work for SQLite, Postgres and MySQL. [...] Assuming all is well, I plan to release this as 1.20 some time next week.
All seems well, so this has now been released as 1.20. Also fixed a minor bug in the test app which was causing a couple of test failures on Windows systems; 1.20 should pass tests happily on Windows too. Cheers! Dave P -- David Precious ("bigpresh") http://www.preshweb.co.uk/ "Programming is like sex. One mistake and you have to support it for the rest of your life". (Michael Sinz)
participants (2)
-
David Precious -
Jury Gorky