PHP code example of p4bgroup / fix-utf8

1. Go to this page and download the library: Download p4bgroup/fix-utf8 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/ */

    

p4bgroup / fix-utf8 example snippets

bash

use FixUTF8\Encoding;

Encoding::fixUtf8($garbledString);