Ravendb not saving /n characters in string

25 views
Skip to first unread message

Michael Fyffe

unread,
Jul 24, 2015, 4:20:52 PM7/24/15
to RavenDB - 2nd generation document database
Hey,

I am trying to get ravendb to save the following string

"Hi my name is michael, \n i am 44 years old"

it seems that when i try to save a document with a string property that contains this value ravendb does some conversion and i end up loosing the new line escape sequences.  How do i prevent ravendb from doing this so i can save the string just as it is above and read it out jus as i put it in?

Thanks

Kijana Woodard

unread,
Jul 24, 2015, 4:31:58 PM7/24/15
to rav...@googlegroups.com
Version?
Rest API / .net client / Java client?

From: Michael Fyffe
Sent: ‎7/‎24/‎2015 3:20 PM
To: RavenDB - 2nd generation document database
Subject: [RavenDB] Ravendb not saving /n characters in string

--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Fyffe

unread,
Jul 24, 2015, 4:40:53 PM7/24/15
to RavenDB - 2nd generation document database, kijana....@gmail.com
using the .net client version 2.5

Oren Eini (Ayende Rahien)

unread,
Jul 26, 2015, 1:18:49 AM7/26/15
to ravendb, Kijana Woodard
This is pretty core feature, and doesn't seems likely.
Can you create a failing test showing it?

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 

Reply all
Reply to author
Forward
0 new messages