modify for support utf-8 source file