fix EM.system when unicode characters used
Merge pull request #322 from funny-falcon/em_system

fix EM.system when unicode characters used