Unicode plugin - rework encoding default config
authorWallace Reis <wallace@reis.me>
Fri, 24 May 2013 00:37:23 +0000 (02:37 +0200)
committerWallace Reis <wreis@123people.com>
Fri, 24 May 2013 00:43:17 +0000 (02:43 +0200)
commit1bef5f599dd1a07e3693ea84fe805a31efa08142
tree61980388485edf66108d70af4a40c2b9bf912044
parent1d4df70b12006c9803f80e46d435a1f2610b75f1
Unicode plugin - rework encoding default config

The aim is to find a way to: 1) not bust people who are doing the right
thing, 2) force people to do the right thing going forward, with new
apps, 3) make it easy for people doing the wrong thing to keep doing
the wrong thing if they don't or can't fix their apps.

Thus, lets basically set "encoding" bit to 'UTF-8' for apps loading the
plugin directly (unless provided something else) and remove the default
value.
lib/Catalyst.pm
lib/Catalyst/Plugin/Unicode/Encoding.pm
t/lib/TestApp.pm
t/lib/TestApp2.pm
t/unicode_plugin_charset_utf8.t