Fixed issue with broken emoticons + py3 support