Mojolicious::Plugin::Charset(3p)

NAME
Mojolicious::Plugin::Charset - Charset plugin

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

  # Mojolicious::Lite
  plugin Charset => {charset => 'Shift_JIS'};

DESCRIPTION
Mojolicious::Plugin::Charset is a plugin to easily set the default charset and encoding on all layers of Mojolicious.

OPTIONS
Mojolicious::Plugin::Charset supports the following options.

  "charset"
  # Mojolicious::Lite
  plugin Charset => {charset => 'Shift_JIS'};

Application charset.

METHODS
Mojolicious::Plugin::Charset inherits all methods from Mojolicious::Plugin and implements the following new ones.

  "register"
  $plugin->register;

Register plugin hooks in Mojolicious application.

SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.