but I wasn’t sure if in Kotlin, `\n` represented l...
# announcements
s
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
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
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, ¯\_(ツ)_/¯