gchq / gchq/CyberChef

can't encode non-GBK Character into GB18030

Open
#1,946 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

**Describe the bug**
can't encode non-GBK Character (like most extended Latin letters and Emoji) into GB18030

**To Reproduce**
1. Choose "Encode text-Simplified Chinese GB18030";
2. Type non-GBK Character (like "ä" or "😀") in input;
3. Empty bytes would be returned.

**Expected behaviour**
non-GBK Character should be encoded into corresponding GB18030 bytes (4 bytes per character).

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the “Encode text-Simplified Chinese GB18030” operation using “ä” and “😀”, then inspect the operation entry point and its encoding dependencies. Done means non-GBK characters produce their corresponding GB18030 bytes instead of empty output, with regression coverage if the project’s existing tests identify a suitable location.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.