7b08f6f8f1
CharBuffer had capacity to hold 2 chars, which was not enough to append a surrogate pair when the buffer was not empty. The buffer was extended and the decoding algorithm rewritten to deal with a buffer of any length. #KT-28572 Fixed