PHP Classes
elePHPant
Icontem

Convert character set: Conversion between many character set encodings

Recommend this page to a friend!

  Author Author  
Picture of Mikolaj
Name: Mikolaj <contact>
Classes: 1 package by
Country: Poland Poland


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class is meant to convert text strings between different character set encodings. These are the main features of the class:

- Conversion between 1 byte character sets
- Conversion from 1 byte to multi byte character set (utf-8)
- Conversion from multibyte character set (utf-8) to 1 byte character set
- Every conversion output can be save with numeric entities (browser character set independent)

This is a list of character sets you can operate with. The main requirement is that a character has to be in both character sets, otherwise it will return an error.


WINDOWS
windows-1250 - Central Europe
windows-1251 - Cyrillic
windows-1252 - Latin I
windows-1253 - Greek
windows-1254 - Turkish
windows-1255 - Hebrew
windows-1256 - Arabic
windows-1257 - Baltic
windows-1258 - Viet Nam
cp874 - Thai - this file is also for DOS


DOS
cp437 - Latin US
cp737 - Greek
cp775 - BaltRim
cp850 - Latin1
cp852 - Latin2
cp855 - Cyrylic
cp857 - Turkish
cp860 - Portuguese
cp861 - Iceland
cp862 - Hebrew
cp863 - Canada
cp864 - Arabic
cp865 - Nordic
cp866 - Cyrylic Russian (this is the one, used in IE "Cyrillic (DOS)" )
cp869 - Greek2


MAC (Apple)
x-mac-cyrillic
x-mac-greek
x-mac-icelandic
x-mac-ce
x-mac-roman


ISO (Unix/Linux)
iso-8859-1
iso-8859-2
iso-8859-3
iso-8859-4
iso-8859-5
iso-8859-6
iso-8859-7
iso-8859-8
iso-8859-9
iso-8859-10
iso-8859-11
iso-8859-12
iso-8859-13
iso-8859-14
iso-8859-15
iso-8859-16


MISCELLANEOUS
gsm0338 (ETSI GSM 03.38)
cp037
cp424
cp500
cp856
cp875
cp1006
cp1026
koi8-r (Cyrillic)
koi8-u (Cyrillic Ukrainian)
nextstep
us-ascii
us-ascii-quotes


DSP implementation for NeXT
stdenc
symbol
zdingbat


And specially for old Polish programs
mazovia

  Classes of Mikolaj  >  Convert character set  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Convert character set
Base name: convertcharset
Description: Conversion between many character set encodings
Version: 1.0.0
PHP version: -
License: Freeware
 
  Groups   Applications   Related pages   Files Files  

  Groups  
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Conversion Unit and datatype conversion View top rated classes


  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.


  Related pages  
Full class
Where to find the complete package

  Files folder image Files  
File Role Description
Plain text file ConvertCharset.class.php Class Main class file
Accessible without login Plain text file demo.txt Example Demo and example script
Accessible without login Plain text file documentation.txt Doc. Documentation

Install with Composer Install with Composer - Download Download all files: convertcharset.tar.gz convertcharset.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.