Main > Programming > Libraries >

Unicode::Escape 0.0.2

Unicode::Escape 0.0.2

Sponsored Links

Unicode::Escape 0.0.2 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.005 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1135
Date added: 2007-01-17
Publisher: Hitoshi Amano

Unicode::Escape 0.0.2 description

Unicode::Escape is a Perl module with escape and unescape Unicode characters other than ASCII.

SYNOPSIS

# Escape Unicode charactors like u3042u3043u3044.
# JSON thinks No more Garble!!

# case 1
use Unicode::Escape;
my $escaped1 = Unicode::Escape::escape($str1, euc-jp); # $str1 contains charactor that is not ASCII. $str1 is encoded by euc-jp.
my $escaped2 = Unicode::Escape::escape($str2); # default is utf8 # $str2 contains charactor that is not ASCII.
my $unescaped1 = Unicode::Escape::unescape($str3, shiftjis); # $str3 contains escaped Unicode character. return value is encoded by shiftjis.
my $unescaped2 = Unicode::Escape::unescape($str4); # default is utf8 # $str4 contains escaped Unicode character.

# case 2
use Unicode::Escape qw(escape unescape);
my $escaped1 = escape($str1, euc-jp); # $str1 contains charactor that is not ASCII. $str1 is encoded by euc-jp.
my $escaped2 = escape($str2); # default is utf8 # $str2 contains charactor that is not ASCII.
my $unescaped1 = unescape($str3, shiftjis); # $str3 contains escaped Unicode character. return value is encoded by shiftjis.
my $unescaped2 = unescape($str4); # default is utf8 # $str4 contains escaped Unicode character.

# case 3
use Unicode::Escape;
my $escaper = Unicode::Escape->new($str, shiftjis); # $str contains charactor that is not ASCII. $str is encoded by shiftjis.(default is utf8)
my $escaped = $escaper->escape;

# case 4
use Unicode::Escape;
my $escaper = Unicode::Escape->new($str); # $str contains escaped Unicode character.
my $unescaped1 = $escaper->unescape(shiftjis);
my $unescaped2 = $escaper->unescape; # default is utf8.

Escape and unescape Unicode characters other than ASCII. When the server response is javascript code, it is convenient.

Unicode::Escape 0.0.2 Screenshot

Advertisements

Unicode::Escape 0.0.2 Keywords

Bookmark Unicode::Escape 0.0.2

Hyperlink code:
Link for forum:

Unicode::Escape 0.0.2 Copyright

WareSeeker periodically updates pricing and software information of Unicode::Escape 0.0.2 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Unicode::Escape 0.0.2 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Unicode::Collate is a Unicode Collation Algorithm. Free Download
US-ASCII transliterations of Unicode text Free Download
Unicode::Regex::Set is a subtraction and intersection of Character Sets in Unicode Regular Expressions. Free Download
Unicode::Overload is a Perl source filter to implement Unicode operations. Free Download
Unicode Utilities project are a set of programs for manipulating and analyzing Unicode text. Free Download
Unicode::Normalize Perl module contains Unicode Normalization Forms. Free Download
Unicode::Unihan is the Unihan Data Base 5.0.0. Free Download
URI::Escape is a Perl module to escape and unescape unsafe characters. Free Download