You are not logged in.
Pages: 1
@ab,
It's very common to use '\n' to represent a 'new line', and '\t' to represent a TAB character in the programming.
In the Delphi community, I know at least DK Language supports these notions.
It'll be a nice addition if we can add those support in FormatUtf8
Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.
Offline
It would break existing code for sure, and it is a C-like feature.
There is no escape in FormatUTF8() - even the % can not be escaped.
In pascal we have 'some text'#10'another line' which is not so awful to write and faster/safer to process.
Offline
Pages: 1