GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  UNICODE::UTF8SIMPLE (3)

.ds Aq ’

NAME

Unicode::UTF8simple - Conversions to/from UTF8 from/to charactersets

CONTENTS

SYNOPSIS



 use Unicode::UTF8simple;

 my $uref = new Unicode::UTF8simple;

 #convert a string (here: schoen) to a utf8 byte string
 my $utf8string=$uref->toUTF8("iso-8859-1","schoen");

 #convert a string from utf-8 to specified encoding
 my $string=$uref->fromUTF8("iso-8859-1",$utf8string);

 #get a lit of supported encodings:
 my @listOfNames=$uref->enclist();

 #check if a given encoding (here gb2312) is supported
 if ($uref->encsup(gb2312)){ ... }



DESCRIPTION

Provides UTF-8 conversion for perl versions from 5.00 and up. It was mainly written for use with perl 5.00 to 5.6.0 because those perl versions do not support Unicode::MapUTF8 or Encode.

Unicode::UTF8simple is written in plain perl (no C code) and will work with any Perl 5 version. It is just slightly slower than Encode.

AUTHOR

Guido Socher (guido at linuxfocus.org)

POD ERRORS

Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 40: Non-ASCII character seen before =encoding in ’schoen)’. Assuming ISO8859-1
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 UTF8SIMPLE (3) 2004-12-27

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.