Fix issue 6776

Runtime error when zh_CN(TW) language is set. Related to #6776. May be somehow related to # #8418, not sure.


Not tested on x64 =(. Works on x86.

@duskgao, Please report.