Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] UTF-16 encode function #6030

Open
KGorbakon opened this issue Feb 7, 2025 · 1 comment
Open

[FEATURE] UTF-16 encode function #6030

KGorbakon opened this issue Feb 7, 2025 · 1 comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@KGorbakon
Copy link

KGorbakon commented Feb 7, 2025

Describe your feature request

A new function for utf-16 text encoding

Describe the use case of the feature

Thi function might be useful for cases when web server acceps data only in utf-16 format. For example, CVE-2024-43468.

Describe alternatives you've considered

No response

Additional context

In raw http view mode there is no difference between the same text in utf-8 and utf-16, but if you switch to hex mode you will see the difference:

"string" in UTF-8 raw http data
73 65 61 72 63 68

"string" in UTF-16 raw http data
73 00 65 00 61 00 72 00 63 00 68 00

@KGorbakon KGorbakon added the Type: Enhancement Most issues will probably ask for additions or changes. label Feb 7, 2025
@GeorginaReeder
Copy link

Thanks so much for your feature request @KGorbakon , we'll take a look into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

No branches or pull requests

2 participants