The following is quoted from Climbing's post at 2005-6-17 10:11:05:
It is impossible to display Chinese characters in text mode, because displaying Chinese characters must be done in graphics mode.
No, it really is possible, it's just that the number of Chinese characters that can be displayed is very limited.
I used a DOS English-Chinese dictionary before, apparently a product from Hope Software Company (the company behind UCDOS). It was a TSR memory-resident program that could arbitrarily capture English words on the screen and then display the word definitions. When it ran, the screen mode number was 03H, and it absolutely was displaying Chinese characters in pure text mode!!!
Its principle is to display Chinese characters as needed: read the Chinese dot-matrix glyphs, then use a subfunction of the INT 10H interrupt to modify the glyphs of part of the extended ASCII characters (the extended ASCII value range is 128–255), that is, replace the original glyphs of the extended characters with Chinese character glyphs, write them back into video memory, and then once the extended characters are output, Chinese characters can be displayed. After all, the number of Chinese characters that can be displayed is very limited. Since one Chinese character needs two ASCII characters to form it, the 128 extended ASCII characters can form at most 64 Chinese characters. And that dictionary program was a mini dictionary, its Chinese definitions were very simple, and the number of Chinese characters it needed to display did not exceed 64.
Also, in pure text mode, the text resolution is 80*25, and each character's dot matrix is 9*16, not 8*16 (most computers are like this; I'm not sure about laptops, hehe). Then the dot matrix of two characters is 18*16, while a Chinese character's dot matrix is usually 16*16, so when modifying the ASCII glyphs you have to pay attention to choosing what to do with one column of the ASCII characters.
----====≡≡≡≡ 我的至爱,永远是
MSDOS!≡≡≡≡====----