Adjust all utils.py methods to handle non-ascii