gchq/CyberChef

bug(Encode Text): Uncaught Error "Unrecognized CP: undefined"

Open

#2,493 opened on Jun 4, 2026

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (34,843 stars) (3,944 forks)batch import
buggood first issuehelp wanted

Description

To reproduce that use a direct link https://gchq.github.io/CyberChef/#recipe=Encode_text('')&oenc=65001&oeol=VT then as you can see an uncaught error

Encode text - Error in https://gchq.github.io/CyberChef/modules/Encodings.js on line 2.<br><br>Message: Unrecognized CP: undefined

the issue is simple and persists the parameter not validated is have a value or not

Contributor guide