Die TIM-Webseite

paclogo.gif

against software patents!

Viewable With Any Browser

* Selecting a different codepage

DOS boxes on Windows (Command prompt) don't use the Latin-1 encoding, but some variant of the IBM PC extended character set. The «Codepage» specifies which variant is used.

Possible codepages are 437 (International), 850 (Multilingual), 852 (Slavic), 860 (Portuguese), 863 (Candian, French), 865 (Scandinavian).

In practice there are only two codepages to choose from: 437 and 850.

Many TIM users in Belgium prefer to use Codepage 437 (International) instead of 850 (Multilingual) because it displays the symbol (Ø) «correctly» as a diameter sign. Codepage 850 displays it as Ý (an uppercase accented Y). TIM users in Estonia prefer codepage 850 because it has the characters õ and Õ (o and O with tilde) which is not available in codepage 437. Also the superscript 3 (³, Alt-252) exists only in codepage 850.

Symbol cp437 cp850
Diameter (Ø) Alt-237 -
Sigma (Σ) Alt-228 -
superscript 3 (³) - Alt-252
õ and Õ - Alt-228

On Win2K, Windows NT and Windows XP you can switch from one codepage to the other by simply typing chcp 850 (or chcp 437) in a DOS prompt. This quick switching works only when your DOS prompt is in fullscreen mode.

«Only the OEM code page installed with Windows NT will display correctly in a command prompt window using Raster fonts. Other code pages will display correctly only in full-screen mode or command prompt windows that are using TrueType fonts.» (*)

If you want a windowed TIM to use another codepage, then you should specify to use a TrueType font for the TIM window: click the Window menu of a running TIM and change this property, also for future calls.

If you really need to see your preferred codepage also using a raster font when TIM is in a non-fullscreen window, then it seems that you must edit the Windows Registry in a very dangerous place. sites.inka.de/sites/rwi/nt-tips/codepage.html This last trick is not tested. Don't do this manually. Find somebody who knows more than me. scilnet.fortlewis.edu/tech/NT-Server/registry.htm