NAME
    Plack::Middleware::UnicodePictogramFallback::TypeCast - Unicode
    pictogram fallback to HTML

VERSION
    This document describes
    Plack::Middleware::UnicodePictogramFallback::TypeCast version 0.02.

SYNOPSIS
        use Plack::Middleware::UnicodePictogramFallback::TypeCast;
        use Plack::Builder;

        my $app = sub {
            [200, ['Content-Type' => 'text/html', 'Content-Length' => 16], ["<body>\xE2\x98\x80</body>"]];
        };
        builder {
            enable 'UnicodePictogramFallback::TypeCast',
                template => '<img src="/img/emoticon/%s.gif" />';
            $app;
        };
        # returns <body><img src="/img/emoticon/sun.gif /></body>

DESCRIPTION
    Unicode pictogram fallback to HTML

CAUTION
    Content-Length header will be removed if content is filtered.

    You can use this in conjunction with Plack::Middleware::ContentLength.

DEPENDENCIES
    Perl 5.8.1 or later.

BUGS
    All complex software has bugs lurking in it, and this module is no
    exception. If you find a bug please either email me, or add the bug to
    cpan-RT.

SEE ALSO
    perl

AUTHOR
    Masayuki Matsuki <y.songmu@gmail.com>

LICENSE AND COPYRIGHT
    Copyright (c) 2013, Masayuki Matsuki. All rights reserved.

    This library is free software; you can redistribute it and/or modify it
    under the same terms as Perl itself.