DRL > Discussion

Invalid codepage?

(1/2) > >>

Baphomet:
What do others get after editing the doomrl.bat file with this?


--- Code: ---mode con lines=25 cols=80
mode con cp select=473
pause
doomrl
--- End code ---

My german WinXP says


--- Quote ---D:\Spiele\doomrl>mode con cp select=473
Die angegebene Codepage ist unzulässig.
--- End quote ---

Translated it would be: "The given codepage is not valid".

Malek Deneith:
Change 473 to 437.

Baphomet:
Ok, although


--- Code: ---mode con cp select=473
--- End code ---

is the original line. I just included the pause command.

Kornel, your job...

Rabiat:
The codepage should be 437 (US). I think Kornel included the codepage select command in doomrl.bat to prevent high range ASCII characters from messing up. AFAIK the Latin-1 codepage (850) displays char #249 (fat centered dot) as two superscript dots, and Greek/Slavic/Cyrillic must be even worse. MS must not have been considering the millions of roguelike players out there when they pulled that stunt. ;)

In case you substituted 473 with 437 and cp select produces an error similar to "codepage not prepared", try including a the following line in your config.sys:


--- Code: ---mode con cp prepare=((437) c:\windows\command\ega.cpi)
--- End code ---

Edit: and of course you can use the chcp command to check/set the codepage.

Malek Deneith:

--- Quote from: Baphomet on April 12, 2007, 05:11 ---Ok, although


--- Code: ---mode con cp select=473
--- End code ---

is the original line. I just included the pause command.

Kornel, your job...

--- End quote ---

It was discussed before and someone said it should be 437 not 473... since with 437 it works properly I'm inclined to belive.
* Malek shurgs

Navigation

[0] Message Index

[#] Next page

Go to full version