From e0547aaebf115bead21cc89ff6214c471a68dbec Mon Sep 17 00:00:00 2001 From: momo Date: Thu, 8 Oct 2015 13:01:17 -0400 Subject: [PATCH] change ? to ^ --- .../sleuthkit/autopsy/keywordsearch/AbstractFileChunk.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/AbstractFileChunk.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/AbstractFileChunk.java index dcb81eafd0..87df3dd612 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/AbstractFileChunk.java +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/AbstractFileChunk.java @@ -69,7 +69,7 @@ class AbstractFileChunk { // Given a byte array, filter out all occurances non-characters // http://unicode.org/cldr/utility/list-unicodeset.jsp?a=[:Noncharacter_Code_Point=True:] // and non-printable control characters except tabulator, new line and carriage return - // and replace them with the question mark character (?) + // and replace them with the character (^) private static byte[] sanitize(byte[] input) { Charset charset = Charset.forName("UTF-8"); // NON-NLS String inputString = new String(input, charset); @@ -80,7 +80,7 @@ class AbstractFileChunk { if (charIsValidSolrUTF8(ch)) { sanitized.append(ch); } else { - sanitized.append("?"); // NON-NLS + sanitized.append('^'); // NON-NLS } }