Line wrapping inside the text box

I remember that line breaks were unified in Photoshop strings with \r. Would it work if changed to \r?