PHP Classes

Convert character set: Conversion between many character set encodings

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 8,770 All time: 182 This week: 78Up
Version License Categories
convertcharset 1.0.0FreewareText processing, Conversion
Description 

Author

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

Picture of Mikolaj
Name: Mikolaj <contact>
Classes: 1 package by
Country: Poland Poland
Age: 46
All time rank: 2915 in Poland Poland
Week rank: 312 Down5 in Poland Poland Equal

  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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:8,770
This week:0
All time:182
This week:78Up
User Ratings User Comments (1)
 All time
Utility:95%StarStarStarStarStar
Consistency:89%StarStarStarStarStar
Documentation:79%StarStarStarStar
Examples:81%StarStarStarStarStar
Tests:-
Videos:-
Overall:72%StarStarStarStar
Rank:157