
Mojolicious::Plugin::Charset - Charset plugin

# Mojolicious
$self->plugin(Charset => {charset => 'Shift_JIS'});
# Mojolicious::Lite
plugin Charset => {charset => 'Shift_JIS'};

Mojolicious::Plugin::Charset is a plugin to easily set the default charset and encoding on all layers of Mojolicious.
The code of this plugin is a good example for learning to build new plugins, you're welcome to fork it.

Mojolicious::Plugin::Charset supports the following options.
charset # Mojolicious::Lite
plugin Charset => {charset => 'Shift_JIS'};
Application charset.

Mojolicious::Plugin::Charset inherits all methods from Mojolicious::Plugin and implements the following new ones.
register$plugin->register($app, $conf);
Register plugin hooks in Mojolicious application.
