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?

 

 

1

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

0

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

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

0

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

 

1

请先登录再写评论。