The C3 spritefont's default character set has two backslashes. This is different from C2, and I can't find a good reason for it. Using a single backslash seems to work fine (on Windows & Mac) for both the character set and the Text value. Two backslashes do seem to escape to a single one, but if the single one works anyway, this is really confusing. Unless there is some different issue on Linux (which I can't test), I don't see the need for it.
Develop games in your browser. Powerful, performant & highly capable.
IIRC, this is intentional. C2 had some weird inconsistencies about special characters like newlines in properties. C3 now uses \n for a newline, which means backslashes in general have to be escaped as \\.
Ok, that's good. However, it is inconsistent now with setting the text in an action. If I have "One\nTwo\tThree" in the properties, I get newlines and tabs working. If I set this via "Set text", I get: One\nTwo\tThree
Should I log this as a bug?