Change Windows 11 Command Prompt Console Language

Abstract: Fix garbled text in Windows 11 Command Prompt by changing the console code page to UTF-8 or other language-specific encodings.

Created: 2026-10-09 by
You can change the Command Prompt language in Windows 11 by modifying the console code page and regional settings rather than changing the entire operating system language. This process involves setting a specific code page, such as UTF-8 or OEM characters, to ensure text renders correctly in Polish, Japanese, or other non-Latin scripts. By adjusting these low-level console properties, you resolve character encoding issues without reinstalling Windows or altering your primary display language preferences.

Understanding Console Code Pages

The Command Prompt relies on code pages to map numeric character values to visible glyphs. When the active code page does not match the encoding of the text being displayed, you will see garbled symbols or question marks instead of letters like "ą" for Polish or Kanji for Japanese. The most common solution is to switch the console to a Unicode-aware code page or the appropriate OEM code page for your target language. To check your current code page, open cmd.exe and type chcp. The output will show something like Active code page: 437 (US) or 65001 (UTF-8). If you are seeing incorrect characters, this number likely needs to be changed. For Japanese users, code page 932 is standard. For Western European languages like Polish, code page 852 or 1250 are often used, though UTF-8 (65001) is increasingly preferred for compatibility.

Temporarily Changing the Language

For immediate testing, you can change the code page for the current session only. This method is useful if you need to run a script with specific encoding requirements but do not want to alter system-wide settings.
  1. Open the Start menu and search for Command Prompt.
  2. Right-click the result and select Run as administrator to ensure full privileges.
  3. Type the following command and press Enter:
chcp 65001
This sets the active code page to UTF-8. You can verify the change by running chcp again; it should now report Active code page: 65001. Any subsequent commands executed in this window will use UTF-8 encoding. Note that this change resets when you close the window. If you need a different language, replace 65001 with the appropriate code page number, such as 932 for Japanese.

Making the Change Permanent via Registry

To apply the code page change permanently for all new Command Prompt windows, you must modify the Windows Registry. This approach ensures that every time you launch cmd.exe, it initializes with the correct encoding. Be cautious when editing the registry, as incorrect changes can affect system stability. Always back up your registry before proceeding.
  1. Press Win + R, type regedit, and press Enter.
  2. Navigate to the following path:
HKEY_CURRENT_USER\Console
  • If the Console key does not exist, right-click the HKEY_CURRENT_USER folder, select New > Key, and name it Console.
  • Inside the Console key, look for a DWORD value named CodePage. If it does not exist, right-click in the right pane, select New > DWORD (32-bit) Value, and name it CodePage.
  • Double-click CodePage and set its value data to 65001 (for decimal). Ensure the Base is set to Decimal.
After saving the registry entry, close the Registry Editor. Open a new Command Prompt window; it should now default to the specified code page. This method is particularly effective for users who frequently work with international character sets. For more information on managing language settings post-setup, you might find How to Change the Pre-Installed Windows 11 Language Permanently (Post-Setup) helpful for broader localization tasks.

Configuring Font Support

Even with the correct code page, the Command Prompt may fail to display certain characters if the selected font lacks the necessary glyphs. Windows uses a limited set of fonts for the console, and not all support complex scripts like Japanese Kanji or Polish diacritics.
  1. Open Command Prompt and right-click the title bar.
  2. Select Properties.
  3. Go to the Font tab.
  4. Choose a font that supports your target language. For universal support, Courier New or Consolas are safe bets, but for Japanese, MS Gothic or Yu Gothic are better options.
  5. Click OK and apply the changes.
If you still encounter missing characters, consider switching to Windows Terminal, which offers superior font rendering and configuration options compared to the legacy Command Prompt.

Troubleshooting Encoding Issues

Sometimes, even after setting the code page and font, files created or read by the Command Prompt may have encoding mismatches. This often happens when piping output from one command to another or redirecting to a file. To mitigate this, ensure that any scripts or batch files you create are saved in the same encoding as the active code page. If you experience issues with directory listings or file names containing special characters, refer to Troubleshooting 'dir' Command Prompt Issues for deeper diagnostic steps. Additionally, verifying your keyboard layout does not interfere with input methods is crucial. As noted in guides about managing multiple languages, keeping your input settings streamlined can prevent unexpected behavior. See Windows 10: Leave Only One Language per One Keyboard Layout for best practices on input management.

Frequently Asked Questions

Why do I see question marks instead of Polish characters?

This occurs because the active code page does not support the specific glyph for the character you are typing. Switching the code page to 852 or 65001 using the chcp command typically resolves this issue immediately.

Can I change the Command Prompt language to Chinese without changing Windows?

Yes, you can set the code page to 936 (Simplified Chinese) or 950 (Traditional Chinese) via the registry or chcp command. However, you must also ensure the console font supports CJK characters, such as SimSun or Microsoft YaHei. For more details on switching languages, check out How to Switch Language from English to Chinese in Windows.

Does changing the code page affect PowerShell?

No, PowerShell uses its own encoding settings separate from the legacy Command Prompt. While they share some underlying system configurations, changing the Console registry key primarily impacts cmd.exe. PowerShell handles UTF-8 natively in newer versions, so explicit code page changes are rarely needed there.

What is the safest code page for general international use?

Code page 65001 (UTF-8) is the safest choice for modern applications. It supports virtually all characters from all languages and is becoming the standard for interoperability between different tools and systems.

Will reverting the registry change break my system?

No, deleting or resetting the CodePage DWORD value in the HKEY_CURRENT_USER\Console key simply returns the Command Prompt to its default behavior. Your system files and applications remain unaffected by this user-level console setting.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More