Hello, I'm Myouga-Maker This is the first post There is an image that cold days continued in early April. Maybe some of you are trying new things in the new semester or going on to higher education? (I am one of them) I will write down the problem that occurred at that time as a memo
Well, everything started from the basics, so I started with the basic sentences.
System.out.println("My favorire symbol is double quotes(¥"). ");
__ Are? __ ** Did you get an error? ** By the way, I'm using Eclipse4_7_1 on Mac I should have written the code according to the textbook, but an error was spit out and I was confused
When I looked up why, the answer was on the Yen and Yuyuan Wiki. [Unicode problem (yen and yuan problem)](https://ja.wikipedia.org/wiki/yen symbol #Unicode problem (yen and yuan problem)) Apparently, \ was not the Unicode U + 005C , but the U + 00A5 backs and yuan .
The backslash itself can be issued with the alt + \ key.
However, if you don't want to press alt each time, you can change it from \ to \ in the settings (on Mac).
Open System Preferences on your Mac
System Preferences-> Language & Region-> "Keyboard" Preferences ...-> Characters to enter with the "" key:
If you change to, you will be able to type .
By the way, even with this setting, if you press the alt + \ key, \ will appear. I did this.
I wonder if such a problem does not occur with windows? Is it a problem with an unfamiliar Mac? Are there any of you who have had similar problems? If you have any other solutions, please leave a comment.
Recommended Posts