3 Jul
2008
3 Jul
'08
10:40 a.m.
| If an end-of-line marker appears within a literal string without a | preceding backslash, the result is equivalent to \n (regardless of | whether the end-of-line marker was a carriage return, a line feed, | or both).
You are correct; when not escaped, a newline might be changed. Although if the string is a text string (opposed to containing binary data),
Hello, this
should not matter.
It does matter, <CR> and <LF> are different in bookmarks (only <LF> generates a line break in AR7/8).
Oh. Well, by not escaping a newline in the string, it is always treated by the readers als <LF>, no matter if it is an <LF> or a <CR>. So it always generates a line break in bookmarks. IMO the desired behaviour.
Yours sincerely Heiko
Jonathan