https://kotlinlang.org logo
#announcements
Title
# announcements
s

Shawn

11/02/2017, 6:36 PM
but I wasn’t sure if in Kotlin,
\n
represented literally ASCII
0x0A
or if it ends up being translated to the proper newline depending on platform
j

jcogilvie

11/02/2017, 6:37 PM
this is kind of what I was hoping it would do, hence the question. it's kind of a fidgety thing to test when you're not running that specific problematic platform.
s

Shawn

11/02/2017, 6:39 PM
Anecdotally, I can’t remember ever having to manually write out
\r\n
to get a newline on Windows, but it’s been years since I developed on Windows, so, ¯\_(ツ)_/¯
5 Views