Bookends server: Encoding of quotation mark

A place for users to ask each other questions, make suggestions, and discuss Bookends.
Post Reply
cboulanger
Posts: 59
Joined: Mon Jan 28, 2008 6:18 pm

Bookends server: Encoding of quotation mark

Post by cboulanger »

Hello,

I have another question concerning the Bookends server. It seems like the quotation mark (") is returned by the bookends server as the numeric character entity """. This would be perfect for me since I am just developing a style format that outputs bookends records as JSON (http://www.json.org). In this style, there must not any unencoded quotation marks otherwise it breaks the JSON structure.

Can you confirm that this is the behavior of the server / database and something that I can rely on? Is there a general rule to which characters are encoded this way?

Thanks,
Christian
Jon
Site Admin
Posts: 10296
Joined: Tue Jul 13, 2004 6:27 pm
Location: Bethesda, MD
Contact:

Re: Bookends server: Encoding of quotation mark

Post by Jon »

Bookends Server will convert reserved characters to HTML entities. I believe it uses the same code as simply outputting a bibliography in HTML (see Biblio -> Bibliography Formatter). You can experiment with that to see for yourself what to expect Server to return. After that, if you have questions please contact tech support for followup.

Jon
Sonny Software
Post Reply