try {
decodedQuery.duplicate( queryMB );
if (queryStringEncoding == null) {
ByteChunk bc = decodedQuery.getByteChunk();
CharChunk cc = decodedQuery.getCharChunk();
cc.allocate(bc.getLength(), -1);
// Default encoding: fast conversion
byte[] bbuf = bc.getBuffer();
char[] cbuf = cc.getBuffer();
int start = bc.getStart();
for (int i = 0; i < bc.getLength(); i++) {