[Lazarus] Resource strings and newline

Mattias Gaertner nc-gaertnma at netcologne.de
Thu Jun 19 10:09:06 CEST 2014


On Thu, 19 Jun 2014 08:27:27 +0200
Péter Gábor <ptrg at freemail.hu> wrote:

> PO-reader works system specific so \n will be converted to #10 on linux
> and #13#10 on windows, etc.
> 
> But what does PO-writer with #10, #13 and #13#10 in a single
> resourcestring? Like this: 'How'#10'many'#10'lines'#13#10'here?'

'How\nmany\nlines\nhere?\n'

Note the last \n. That is a bug and needs fixing.

Mattias




More information about the Lazarus mailing list