¥ (Yuan) Sign showing up in Command Prompt Instead of Slash

Last Updated on January 19, 2017

Since the last update, the Command Prompt has been showing my user PATH as C:¥Users¥Utkarsh opposed to the normal C:\Users\Utkarsh. Though not a big deal since everything is working fine, it’s a little weird to look at.Windows 10 yuan sign

What’s astonishing is that normal backslashes are still functioning in the command line. I decided to look a little into it and found the solution. The ¥ is a symbol for Chinese Yuan. So ¥ sign can be fixed by adjusting the Language settings in Windows.

Why is Command Prompt displaying ¥ instead of \ in Command Prompt?

What’s happening here is that the Chinese Yuan is internally represented by a number. This number was similar to both ¥ sign and the \. Your computer is pretty dumb. It doesn’t know what the symbol looks like on your screen, but what value it is represented by. If the codes for two symbols is same, the one with the locale present will be displayed. This is what’s happening here. Setting the right locale fixes this problem instantly.

  • Search for Region in the start menu search and open the Region settings app.
  • Select the Administrative tab.
  • In the Language for non-Unicode programs, check whether your current language is English or not. If you are seeing ¥ (yuan sign) in the command prompt, the chances are that the language for non-Unicode programs won’t be English.
  • To change the language, click on Change system locale. In the Region settings box, select your system locale as English (United States) or English (United Kingdom). Click OK and close the Region tab.
Photo of author

Written by Utkarsh

Utkarsh Bhatt is a certified tech expert and software engineer for a Fortune 500 Company. He was born in 1995, making him one of the oldest members of the team at EFX. Utkarsh loves solving technical issues and is always the first to jump on any problem that needs solving. When he’s not coding or debugging, he enjoys playing video games (especially Super Smash Bros.) and watching cartoons.

Share on:

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.