Lucene.Net 1.9.1 Class Library

TokenMgrError.addEscapes Method 

Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string

protected internal static string addEscapes(
   string str
);

See Also

TokenMgrError Class | Lucene.Net.QueryParsers Namespace