Help save net neutrality! Learn more.
Close

Line termination in text attachments

Zrzeda
2014-03-27
2014-04-08
  • Zrzeda

    Zrzeda - 2014-03-27

    Hi,

    Is there any way of changing line termination method for text attachments? It seems it's using unix-like 0xA char and when I save a file locally the whole content is placed in one line. I'd like the ability to change it to windows style 0xD, 0xA.

    regards,
    Rafal Grzeda

     
  • Paul

    Paul - 2014-03-27

    Test attachments should retain the original format. How are you opening the file to see the issue? Can you provide a sample text file and database with attachment for us to test?

    cheers, Paul

     
  • Dominik Reichl

    Dominik Reichl - 2014-04-08

    The RichEdit control of Windows automatically converts all newline sequences to '\n'.

    I've now added code such that the internal editor determines the newline sequence that the data uses when opening it, and converts all newline sequences to the original sequence when saving the data.

    Here's the latest development snapshot for testing:
    http://keepass.info/filepool/KeePass_140408.zip

    Thanks and best regards,
    Dominik

     

Log in to post a comment.