The backslash character is viewed as a weird character ( as : Y )

When I type a backslash in the IDE, it shows such a character that I'm denoting the red circle.
Why is this happening?

 

 

4 comments
Comment actions Permalink

Is PhpStorm the only place you see the character in?
In general, it's the Japanese directory separator, so you probably have the locale set to Japanese somewhere in your system.
https://stackoverflow.com/a/7314690/8018879

1
Comment actions Permalink

Since I updated my JetBrains apps to the latest version, I've seen the Japanese directory separator in PhpStorm, DataGrip, and CLion. Thanks for your help, I will try to find the problem in the system locale.

0
Comment actions Permalink

You can check the system directory separator by running [IO.Path]::DirectorySeparatorChar in PowerShell.

0
Comment actions Permalink

I had encountered the same issue. For me, this issue is appeared because of the custom font used like Frabklin Gothic Medium. That caused a yen (Ұ) symbol in directory path. When I chose the font like Jetbrains Mono, it changed to backward slash

 

0

Please sign in to leave a comment.