Change the encoding of state.txt from cp936 to utf-8.