From: erickson Date: Thu, 15 Jun 2006 19:08:55 +0000 (+0000) Subject: encoding char=30 (record seperator) in ToJSON X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=614693dd38033965fe3a76ba222cfbb928dcab3d;p=opensrf%2Fbjwebb.git encoding char=30 (record seperator) in ToJSON git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@737 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/utils/utils.c b/src/utils/utils.c index aa9d494..fcdb14a 100644 --- a/src/utils/utils.c +++ b/src/utils/utils.c @@ -347,6 +347,10 @@ char* uescape( const char* string, int size, int full_escape ) { OSRF_BUFFER_ADD_CHAR(buf, '\\'); break; + case 30: /* record separator */ + OSRF_BUFFER_ADD(buf, "\\u001E"); + break; + default: OSRF_BUFFER_ADD_CHAR(buf, c);