Added NAMES=utf8 fix

Added utf8 encoding fix for mysql