add support for Chinese when getting mac id