seoul_007
seoul_007

Reputation: 121

Getting yen symbol when I try to type backslash in pycharm

Note: I have been redirected to this website, as it believed to be the appropriate option for questions like this. If this is not the correct website, could someone please just let me know where I can find help?


I'm trying to write my program in Pycharm, but for some annoying reason whenever I try to type \, it shows up as ¥.

Here's a screenshot:

enter image description here

this is actually supposed to say print('\n'). Whatever has happened has changed all the \ to ¥ in all my files!

And, yes, I have tried copying and pasting the \ but it just ends up changing into ¥

So, could someone please let me know how to fix this??

Upvotes: 0

Views: 1044

Answers (1)

griffin_cosgrove
griffin_cosgrove

Reputation: 447

This could be happening because you are using a font, particularly a Japanese don't. Change the font to an English font like Arial. If that doesn't work you can use the Unicode backslash in Unicode and ASCII it is encoded at U+005C

Upvotes: 1

Related Questions