CyberChef icon indicating copy to clipboard operation
CyberChef copied to clipboard

Bug report: Decode text is damage

Open whwlsfb opened this issue 1 year ago • 3 comments

Describe the bug A clear and concise description of what the bug is.

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

use this recipe #recipe=From_Base64('A-Za-z0-9%2B/%3D',true,false)Decode_text('Simplified%20Chinese%20GB18030%20(54936)')&input=dWY2NS9ybis on CyberChef V9.55.0, would output correctly "哈哈哈",on V10.5.2(latest),output error text "哈哈哈"

Expected behaviour This feature should be fallback to an earlier version.

Screenshots

N/A

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

  • OS: Windows
  • Browser: Chrome 115.0.5790.131
  • CyberChef version: [e.g. 10.0 and newer, including newest 10.5.2]

Additional context

N/A

whwlsfb avatar Aug 02 '23 04:08 whwlsfb

Hey, I want to work on this, can you share screenshots or provide link where exaclty the bug is I am finding it difficult being a beginner
Thanks

Khemendra-Bhardwaj avatar Aug 11 '23 14:08 Khemendra-Bhardwaj

Hey, I want to work on this, can you share screenshots or provide link where exaclty the bug is I am finding it difficult being a beginner Thanks

ok!, screenshots in here,but link is localfile.

20230812085701

whwlsfb avatar Aug 12 '23 00:08 whwlsfb

Hi, it is likely not a bug, but a "feature" introduced in v10.

According to CHANGELOG

Character encoding selection added to the Input and Output

Which means the default encoding used will be Raw Bytes.

图片

You can change this setting at the bottom-right corner to whatever encoding you want, including GB18030.

GoForceX avatar Feb 14 '24 09:02 GoForceX

Hi, it is likely not a bug, but a "feature" introduced in v10.

According to CHANGELOG

Character encoding selection added to the Input and Output

Which means the default encoding used will be Raw Bytes.

图片

You can change this setting at the bottom-right corner to whatever encoding you want, including GB18030.

Okay, forgive my negligence. Thank you for reminding me!

whwlsfb avatar Feb 23 '24 02:02 whwlsfb