handle unicode in img tag