Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Text::Emoticon::Unicode module for Perl 5

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 xt
Octocat-spinner-32 Build.PL
Octocat-spinner-32 Changes
Octocat-spinner-32 INSTALL
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 README
README
NAME
    Text::Emoticon::Unicode - Text::Emoticon filter for Unicode emoticons

VERSION
    This document describes Text::Emoticon::Unicode version 0.02.

SYNOPSIS
        use Text::Emoticon;

        my $emoticon = Text::Emoticon->new('Unicode');

        my $msg = $emoticon->filter('Howdy :)');  # returns 'Howdy ☺'

DESCRIPTION
    This is a Text::Emoticon filter for converting ASCII emoticons to their
    Unicode emoticon character equivalent. Unlike the other Text::Emoticon
    filters, this one does not use images from an external site or even use
    any HTML. Instead it replaces a series of characters like ":-)" with a
    single character like "☺".

    Currently only the Unicode 1.1 emoticons "☺" and "☹" are supported, but
    an option to enable the vast range of Unicode 6.0 emoticons will be
    added in a future version. An option to use numeric character references
    for HTML or XML will also be added, but it’s easy to use HTML::Entities
    or XML::Entities instead.

AUTHOR
    Nick Patch <patch@cpan.org>

COPYRIGHT AND LICENSE
    © 2012 Nick Patch

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

Something went wrong with that request. Please try again.