PHP code example of api-skeletons / correct-utf8-encoding
1. Go to this page and download the library: Download api-skeletons/correct-utf8-encoding library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
api-skeletons / correct-utf8-encoding example snippets
use ApiSkeletons\Utf8;
$correctUtf8Encoding = new Utf8\CorrectUtf8Encoding();
$validString = $correctUtf8Encoding($invalidString);