[docs] [issue23297] Clarify error when ‘tokenize.detect_encoding’ receives text