keil c51在编译的时候会将0xfd的字符(有些汉字含该字符的内码)过滤, 而导致程序出错 char s[] = {"星期三"}; 然后编译连接后Debug,看看那个"三"(0xc8,0xfd)就剩下0xc8了... :(
I always use a program to convert chinese character in source to "\xXX" form beside the 0xfd, you will also see some strange compiler error if you keep chinese character in source. For example, some chinese character has second byte same as ASCII value of \ ' " ..etc