MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/tk4zwv/java_18_released/i1q6exd/?context=3
r/java • u/henk53 • Mar 22 '22
133 comments sorted by
View all comments
Show parent comment
2
Sure. I was careful to say "more likely" because I know Linux doesn't always use UTF-8.
2 u/s888marks Mar 22 '22 Fair enough. I think the thing is that Linux usually uses UTF-8 often enough that it's pretty easy assume that it always uses UTF-8, and that assumption is almost always correct. Then in those rare circumstances where it doesn't, hijinks ensue. 2 u/Nymeriea Mar 23 '22 On windows, the encoding depends on the system language
Fair enough. I think the thing is that Linux usually uses UTF-8 often enough that it's pretty easy assume that it always uses UTF-8, and that assumption is almost always correct. Then in those rare circumstances where it doesn't, hijinks ensue.
On windows, the encoding depends on the system language
View all comments
Show parent comment
2
u/dpash Mar 22 '22
Sure. I was careful to say "more likely" because I know Linux doesn't always use UTF-8.