Update main.php
Update main.php
Update main.php
Merge pull request #768 from lancecoder/patch-1

charset