PHP code example of tomwilford / php-utf8-to-rtf
1. Go to this page and download the library: Download tomwilford/php-utf8-to-rtf 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/ */
tomwilford / php-utf8-to-rtf example snippets
$converter = new CharacterConverter();
$convertedString = $converter->findAndReplace($string);
$convertedString = $converter->convertStringToRtf($string);
$convertedArray = $converter->convertArrayToRtf($arrayOfStrings);
$arrayToConvert = $converter->locateCharactersInString($string);