gchq / CyberChef

The Cyber Swiss Army Knife - a web app for encryption, encoding, compression and data analysis

Home Page:https://gchq.github.io/CyberChef

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug report: RTLO Unicode Character (U+202E) not properly handled in output

0xv1n opened this issue · comments

commented

Describe the bug
When pasting a string with a RTLO character, CyberChef represents it as � now. In prior builds, the RTLO was properly represented in the Output box.

To Reproduce
Steps to reproduce the behaviour or a link to the recipe / input used to cause the bug:

  1. Enter any string containing RTLO (U+202E) in the Input box
  2. Observe the Output

Expected behaviour
Unicode character should be represented accurately in the Output box.

Screenshots

image

Desktop (if relevant, please complete the following information):

  • OS: Windows
  • Browser: 111.0.1
  • CyberChef version: Version 10.2.0

Additional context
Add any other context about the problem here.

This is expected behaviour if your Output character encoding is set to 'Raw bytes'. Setting the Output character encoding to 'UTF-8' renders this character as a control character: https://gchq.github.io/CyberChef/#input=SGVsbG/igK5Xb3JsZA&oenc=65001