Created
April 18, 2014 07:45
-
-
Save 0m3r/11030012 to your computer and use it in GitHub Desktop.
fast utf-8 fix for ajaxpro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$_html = $block->toHtml(); | |
if (function_exists('mb_convert_encoding')) { | |
$_html = mb_convert_encoding($_html, "HTML-ENTITIES", "UTF-8"); | |
} | |
return $_html; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment