[kepler-dev] [Bug 4270] - RExpression exports special characters in strings as the 2 character escaped sequence

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Wed Jul 29 06:34:24 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4270


leinfelder at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|berkley at nceas.ucsb.edu      |leinfelder at nceas.ucsb.edu




------- Comment #3 from leinfelder at nceas.ucsb.edu  2009-07-29 06:34 -------
Thanks to Apache Commons, I think this is the answer:
http://commons.apache.org/lang/api-2.4/org/apache/commons/lang/StringEscapeUtils.html#unescapeJava(java.lang.String)

It will convert the "special" sequences into the actual characters we want: \t
will be a tab, \n a newline, \" a quote....etc.


More information about the Kepler-dev mailing list