How does computer distinguish a code from Chinese character code or ASCII code?

How does computer distinguish a code from Chinese character code or ASCII code?

The high order of the first byte is 1, which may be the Chinese character code, or vice versa
ASCII high bit is 0