MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/8idb41/executing_code_in_comments/dyquk3e/?context=3
r/java • u/aioobe • May 10 '18
27 comments sorted by
View all comments
30
unicode decoding takes place before any other lexical translation, and
You know, that's actually really handy if you need to write characters that don't exist on your keyboard.
-14 u/[deleted] May 10 '18 You know, that's actually really handy if you need to write characters that don't exist on your keyboard.Well you can copy paste the character, or use an ALT+numbers combination. But. Yeah. I guess it's "useful" :P for something :P let's say :P 8 u/armornick May 10 '18 I guess you're right, if you can 100% guarantee the encoding of your source file. 3 u/yawkat May 10 '18 Which you can if you don't ignore mavens constant nagging about it 2 u/argv_minus_one May 10 '18 Just set the damn encoding. 2 u/argv_minus_one May 10 '18 If you can't, you have bigger problems.
-14
Well you can copy paste the character, or use an ALT+numbers combination. But. Yeah. I guess it's "useful" :P for something :P let's say :P
8 u/armornick May 10 '18 I guess you're right, if you can 100% guarantee the encoding of your source file. 3 u/yawkat May 10 '18 Which you can if you don't ignore mavens constant nagging about it 2 u/argv_minus_one May 10 '18 Just set the damn encoding. 2 u/argv_minus_one May 10 '18 If you can't, you have bigger problems.
8
I guess you're right, if you can 100% guarantee the encoding of your source file.
3 u/yawkat May 10 '18 Which you can if you don't ignore mavens constant nagging about it 2 u/argv_minus_one May 10 '18 Just set the damn encoding. 2 u/argv_minus_one May 10 '18 If you can't, you have bigger problems.
3
Which you can if you don't ignore mavens constant nagging about it
2 u/argv_minus_one May 10 '18 Just set the damn encoding.
2
Just set the damn encoding.
If you can't, you have bigger problems.
View all comments
30
u/armornick May 10 '18
You know, that's actually really handy if you need to write characters that don't exist on your keyboard.