Warning: # 870-d: Invalid multibyte character Sequence
Warning: # 870-d: Invalid multibyte character Sequence
Const unsigned char mm [] = {"People's Republic of China "};
Mdk3.40 version with alarm, C-MDK 3.70 normal
Warning Message: Invalid multibyte character sequence is an invalid multi-byte string.
This means that your compiler does not support multi-byte characters, that is, it does not support non-ASCII characters.
There is no problem when using the string format, which is related to the compiler version.
For example
Char * STR;
STR = "I am a Chinese string ";
Just ignore it. This is the function of the compiler. Foreigners use less than 127 ASCII codes, and Chinese users use more than 127 ASCII codes. The Compiler writes ASCII codes to foreigners and naturally assumes that all characters in the world are ASCII codes, if you see such "illegal" characters, you may not jump up immediately to tell you how they are designed to be "humanized.
In old-fashioned terminals, the data (Standard ASCII Code) is only 7 characters long and exceeds 127 of the Code. It is not displayed, and transmission may fail. That warning actually meant to tell you.
I turned off the warning output in the C option, and I was bored.
Keil warning: Invalid multibyte character Sequence
// # Pragma diag_suppress 77,550,129
# Pragma diag_suppress 870
Solve the problem by using this method. I have already succeeded in the experiment found in the example of the dog Keil.