fixed #2292 Fix fileutils to support Chinese character reading