Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

String Encode

Version 1.0.1

String Encode is a simple PHP wrapper package to facilitate the encoding of strings in different charsets.

Install

This can be easilly installed on Jalno 2.x by placing the package on "packages" directory.

Usage

This is a really simple package so there is not much to say about it. The following is just about the only usage for this package at the moment.

use packages\stringEncode\Encode;

$str    = "Calendrier de l'avent façon Necta!"
$encode = new Encode;
$encode->detect($str);
$newstr = $encode->convert($str);
echo $newstr; // "Calendrier de l'avent façon Necta!" in UTF-8 encoding (default)

As you can see, it is a very simple encoding converter.

About

Facilitating the process of altering string encoding in PHP.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages