PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2007-11-02 (9 years ago) RSS 2.0 feedStarStarStarStar 74%Total: 8,664 All time: 180 This week: 701Down
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

Name: Mikolaj <contact>
Classes: 1 package by
Country: Poland Poland
Age: 39
All time rank: 2864 in Poland Poland
Week rank: 1060 Down26 in Poland Poland Down

  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,664
This week:0
All time:180
This week:701Down
User Ratings User Comments (1)
 All time
Utility:97%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:74%StarStarStarStar
Rank:140