Encoding of eol in multiline wysiwyg strings

KlausO oberhofer at users.sf.net
Tue Feb 17 01:41:55 PST 2009


Hello,

does the D specification specify how the "end of line" is encoded when 
you use wysiwyg strings. Currently it seems to be '\n' on windows
(And I guess it will '\n' on linux, too.).
Is this the intended behaviour ?
It's not a big issue but somtimes when you use wysiwyg strings, string 
concatenation and import expressions to combine some text the result is 
a string with mixed EOL encodings.
Thanks for clarifying,

KlausO


More information about the Digitalmars-d-learn mailing list