There is no codepage. How should I add it? #17212

Closed
opened 2026-01-31 05:35:38 +00:00 by claunia · 2 comments
Owner

Originally created by @Huseyinkaymaz on GitHub (Apr 9, 2022).

image
dword file and named it as code page. What should I include in the content?

Originally created by @Huseyinkaymaz on GitHub (Apr 9, 2022). <!-- Briefly describe which document needs to be corrected and why. --> ![image](https://user-images.githubusercontent.com/100446595/162592954-b04e423b-b30b-4d98-b8b9-ef0781b35cdb.png) dword file and named it as code page. What should I include in the content?
Author
Owner

@zadjii-msft commented on GitHub (Apr 11, 2022):

Out of curiosity, why are you setting the code page this way?

CONSOLE_REGISTRY_CODEPAGE looks like CodePage is a DWORD, so you should be able to set it to whatever code page you want. Looks like that value should default to the value of GetOEMCP().

Does chcp {the codepage you want} not work? IIRC you should be able to chcp ..., then open the console settings, hit "Ok", and the settings should be saved for you.

@zadjii-msft commented on GitHub (Apr 11, 2022): Out of curiosity, why are you setting the code page this way? [`CONSOLE_REGISTRY_CODEPAGE`](https://github.com/microsoft/terminal/search?q=CONSOLE_REGISTRY_CODEPAGE) looks like `CodePage` is a DWORD, so you should be able to set it to whatever code page you want. Looks like that value should default to the value of [`GetOEMCP()`](https://docs.microsoft.com/en-us/windows/win32/api/winnls/nf-winnls-getoemcp). Does `chcp {the codepage you want}` not work? IIRC you should be able to `chcp ...`, then open the console settings, hit "Ok", and the settings should be saved for you.
Author
Owner

@ghost commented on GitHub (Apr 15, 2022):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@ghost commented on GitHub (Apr 15, 2022): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17212