Linefeed in a c4d_strings.str

On 06/07/2015 at 06:45, xxxxxxxx wrote:

Hi all,

i try to format a MessageWindow.

so I open the window with

c4d.gui.MessageDialog(res.string('IDC_DIRECTORY_ERROR', directory))   

and in the c4d_strings.str I have:

IDC_DIRECTORY_ERROR "Die Verzeichnisangabe '#' ist falsch. \n Bitte w\u00E4hlen Sie ein Verzeichnis.";   

But the \n does not generate a new line.
Can anybody please tell me where I'm wrong?

And maybe: Is there a way to replace german "Ä" or "Ö" or "Ü" automatic?

Thanks a lot

On 06/07/2015 at 12:35, xxxxxxxx wrote:

For a new line use the pipe character '|' (without the apostrophes) instead of \n.

Can't help with the German chars, sorry.


On 06/07/2015 at 12:56, xxxxxxxx wrote:

You can check out the Unicode Escape Tool in my Devtools Plugin, it will translate the special characters
into a unicode escape sequence.