Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/grinnz/mojo-unicode-utf8

Mojo::Unicode::UTF8 - use Unicode::UTF8 as the UTF-8 encoder for Mojolicious
https://github.com/grinnz/mojo-unicode-utf8

Last synced: 5 days ago
JSON representation

Mojo::Unicode::UTF8 - use Unicode::UTF8 as the UTF-8 encoder for Mojolicious

Awesome Lists containing this project

README

        

=pod

=head1 NAME

Mojo::Unicode::UTF8 - use Unicode::UTF8 as the UTF-8 encoder for Mojolicious

=head1 SYNOPSIS

use Mojo::Unicode::UTF8;
use Mojo::Util 'decode', 'encode';

# Preload for scripts using Mojo::Util
$ perl -MMojo::Unicode::UTF8 $(which morbo) myapp.pl

# Must be set in environment for hypnotoad
$ PERL5OPT=-MMojo::Unicode::UTF8 hypnotoad myapp.pl

=head1 DESCRIPTION

L is a monkey-patch module for using L as
the UTF-8 encoder for a L application, or anything else using
L. It must be loaded before L so the new functions will
be properly exported. Calling L or L
with any encoding other than C will fall back to L as normal.
For details on the benefits, see L.

=head1 BUGS

Report any issues on the public bugtracker.

=head1 AUTHOR

Dan Book

=head1 COPYRIGHT AND LICENSE

This software is Copyright (c) 2015 by Dan Book.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

=head1 SEE ALSO

L, L, L

=cut