vinnyfs89/r-enc

There is no license information available for the latest version (dev-master) of this package.

Simple way to get the right encoding that you want in PHP codes.

dev-master 2017-02-20 19:58 UTC

This package is auto-updated.

Last update: 2024-03-21 19:32:43 UTC


README

##About

The RightEncoding component provides a simple and effective way of convert your PHP strings to right encoding.

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.

##Install

you may clone this project directly or set in your composer.json, like this:

  "require-dev": {
    "vinnyfs89/r-enc": "dev-master"
  },

##Usage

Use the "r-enc" function is so easy! Just like this:

$newString = rEnc($oldString)

Example:

Below we have an example of the file "example.php" executed.

alt !

Yeah!

I Hope you enjoy! :D