dev-master
9999999-dev http://viniciusfesil.comSimple way to get the right encoding that you want in PHP codes.
The Requires
- php >=5.3
The Development Requires
by VinĂcius Feitosa da Silva
php rightencoding r-enc
Wallogit.com
2017 © Pedro PelĂĄez
Simple way to get the right encoding that you want in PHP codes.
The RightEncoding component provides a simple and effective way of convert your PHP strings to right encoding., (*1)
The "r-enc" function represents the RightEncoding component. Using the function "r-enc" you can set the input string and this function will return the string converted for you. You also may set the input Charset and output charset when call the "r-enc" function., (*2)
you may clone this project directly or set in your composer.json, like this:, (*3)
"require-dev": {
"vinnyfs89/r-enc": "dev-master"
},
Use the "r-enc" function is so easy! Just like this:, (*4)
$newString = rEnc($oldString)
Below we have an example of the file "example.php" executed., (*5)
, (*6)
I Hope you enjoy! :D, (*7)
Simple way to get the right encoding that you want in PHP codes.
php rightencoding r-enc