Migration line breaks
-
Not the same post but the generic problem:
https://www.sarbanes-oxley-forum.com/topic/1606/the-bane-of-my-life -
https://www.sarbanes-oxley-forum.com/topic/2317/new-post
Works if I press enter, but not if I type \n.
[edit - but \n doesn't work here either]I posted these using the API and CURL - is it possible that there is a character set issue, or is mongoDB utf-8 by default?
-
Example:
curl -H "Authorization: Bearer xxxxxxxxxxxxxxxxxxxxxx" --data "title=AeA Intern looking for information&content=I am an Intern for AeA and stumbled across this forum. \nI am looking for information on this, particularly information reguarding the issues that have come up reguarding Big 4 and others droping smaller buisnesses because they do not have the resources to handle all of these audits. I am wondering if anyone here can point me in the direction i need to go to find information on this. I am really focused on Small Buisness, but i also need to find if there is any plans to ammend the regulations to fix the problems. If anyone has ANY information, please reply or email me. thanks so much.&cid=17&_uid=1" http://localhost:4567/api/v1/topicsYes, using the API write plugin.
Thanks
-
So the solution I have found is to replace all of the \n line breaks with %0A characters. The API then sends these to display correctly.
I'm not sure if there is a better way, but that solves my problem once I purge the topics and repost.
Thanks for all your help.