make two internal EncodedText methods private