[Lazarus] Resource strings and newline

Michael Van Canneyt michael at freepascal.org
Tue Jun 17 08:41:01 CEST 2014



On Tue, 17 Jun 2014, Juha Manninen wrote:

> Could somebody please explain what happens when there is #13#10 in a
> resource string.
>
> See issue
>  http://bugs.freepascal.org/view.php?id=26343
> and a note:
>  http://bugs.freepascal.org/view.php?id=26343#c75738
>
> It is converted to \n in .po file strings.
> However Format() does not convert \n. How can it work?
> I will do more experiments later today.

Format should not convert \n. This is the job of the .po reader.

Michael.




More information about the Lazarus mailing list