Is there a way to set line endings to windows? Which are ^M if i'm not mistaken
I'm sending my ACE to a private API which I cannot control, this expects a format with windows line endings.
Editor = ace.edit("e");
ValueSentToServer = Editor.getValue();
Is what i am using to get the value.
When doing an ajax call to get a file source I'm seeing
↵
As the line ending tags in WebKit console.