Name : perl-Unicode-String
| |
Version : 2.07
| Vendor : gaas_cpan_org
|
Release : 1
| Date : 2003-11-21 20:59:18
|
Group : Applications/CPAN
| Source RPM : perl-Unicode-String-2.07-1.src.rpm
|
Size : 0.26 MB
| |
Packager : Peter Pramberger < peter_pramberger_1012surf_net>
| |
Summary : Unicode-String - String of Unicode characters (UCS2/UTF16)
|
Description :
use Unicode::String qw(utf8 latin1 utf16); $u = utf8(\"The Unicode Standard is a fixed-width, uniform \"); $u .= utf8(\"encoding scheme for written characters and text\");
print $u->ucs4; # 4 byte characters print $u->utf16; # 2 byte characters + surrogates print $u->utf8; # 1-4 byte characters print $u->utf7; # 7-bit clean format print $u->latin1; # lossy print $u->hex; # a hexadecimal string
$u->latin1(\"� v�re eller � ikke v�re\"); $u = utf16(\"\\0�\\0 \\0v\\0�\\0r\\0e\");
$u2 = $u->copy; $u->append($u2); $u->repeat(2); $u->chop; $u->length; $u->index($other); $u->index($other, $pos); $u->substr($offset); $u->substr($offset, $length); $u->substr($offset, $length, $substitute);
$u .= \"more\"; $u = $u x 100; print \"$u\ \";
AATTarray = $u->unpack; $u->pack(AATTarray);
$u->ord; $u = uchr($num);
|
RPM found in directory: /packages/linux-pbone/archive/ftp.pramberger.at/systems/linux/contrib/rh73/i386 |