Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/grinnz/mojo-unicode-utf8
- Owner: Grinnz
- License: other
- Created: 2015-09-06T20:00:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-09-12T21:39:47.000Z (over 6 years ago)
- Last Synced: 2024-11-13T05:20:43.538Z (about 2 months ago)
- Language: Perl
- Homepage: https://metacpan.org/pod/Mojo::Unicode::UTF8
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.pod
- Changelog: Changes
- Contributing: CONTRIBUTING.md
- License: LICENSE
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