piconv(1)


NAME

   piconv -- iconv(1), reinvented in perl

SYNOPSIS

     piconv [-f from_encoding] [-t to_encoding]
            [-p|--perlqq|--htmlcref|--xmlcref] [-C N|-c] [-D] [-S scheme]
            [-s string|file...]
     piconv -l
     piconv -r encoding_alias
     piconv -h

DESCRIPTION

   piconv is perl version of iconv, a character encoding converter widely
   available for various Unixen today.  This script was primarily a
   technology demonstrator for Perl 5.8.0, but you can use piconv in the
   place of iconv for virtually any case.

   piconv converts the character encoding of either STDIN or files
   specified in the argument and prints out to STDOUT.

   Here is the list of options.  Some options can be in short format (-f)
   or long (--from) one.

   -f,--from from_encoding
       Specifies the encoding you are converting from.  Unlike iconv, this
       option can be omitted.  In such cases, the current locale is used.

   -t,--to to_encoding
       Specifies the encoding you are converting to.  Unlike iconv, this
       option can be omitted.  In such cases, the current locale is used.

       Therefore, when both -f and -t are omitted, piconv just acts like
       cat.

   -s,--string string
       uses string instead of file for the source of text.

   -l,--list
       Lists all available encodings, one per line, in case-insensitive
       order.  Note that only the canonical names are listed; many aliases
       exist.  For example, the names are case-insensitive, and many
       standard and common aliases work, such as "latin1" for
       "ISO-8859-1", or "ibm850" instead of "cp850", or "winlatin1" for
       "cp1252".  See Encode::Supported for a full discussion.

   -r,--resolve encoding_alias
       Resolve encoding_alias to Encode canonical encoding name.

   -C,--check N
       Check the validity of the stream if N = 1.  When N = -1, something
       interesting happens when it encounters an invalid character.

   -c  Same as "-C 1".

   -p,--perlqq
       Transliterate characters missing in encoding to \x{HHHH} where HHHH
       is the hexadecimal Unicode code point.

   --htmlcref
       Transliterate characters missing in encoding to &#NNN; where NNN is
       the decimal Unicode code point.

   --xmlcref
       Transliterate characters missing in encoding to &#xHHHH; where HHHH
       is the hexadecimal Unicode code point.

   -h,--help
       Show usage.

   -D,--debug
       Invokes debugging mode.  Primarily for Encode hackers.

   -S,--scheme scheme
       Selects which scheme is to be used for conversion.  Available
       schemes are as follows:

       from_to
           Uses Encode::from_to for conversion.  This is the default.

       decode_encode
           Input strings are decode()d then encode()d.  A straight two-
           step implementation.

       perlio
           The new perlIO layer is used.  NI-S' favorite.

           You should use this option if you are using UTF-16 and others
           which linefeed is not $/.

       Like the -D option, this is also for Encode hackers.

SEE ALSO

   iconv(1) locale(3) Encode Encode::Supported Encode::Alias PerlIO





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.