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

Invalid encoding for non-ascii JSON/HAR #209

Open
stek29 opened this issue May 6, 2024 · 0 comments
Open

Invalid encoding for non-ascii JSON/HAR #209

stek29 opened this issue May 6, 2024 · 0 comments
Assignees
Labels

Comments

@stek29
Copy link

stek29 commented May 6, 2024

Description:
Strings exported in JSON/HAR are invalid if request/response isn't ASCII but UTF-8.
And if Request/Response is not a valid string at all -- and is a binary data -- export is wrong too.

Steps To Reproduce:

  • Make a request/response containing non-ascii characters
  • Export as JSON or as HAR
  • Open exported file as UTF-8 file

Expected behavior:
Strings are correctly exported

Actual behavior:
Strings are broken and aren't in UTF-8 format

Version:
3.20.1

@stek29 stek29 added the bug label May 6, 2024
@stek29 stek29 changed the title Invalid encoding for JSON/HAR Invalid encoding for non-ascii JSON/HAR May 6, 2024
stek29 added a commit to stek29/LoggerPlusPlus that referenced this issue May 6, 2024
stek29 added a commit to stek29/LoggerPlusPlus that referenced this issue May 6, 2024
stek29 added a commit to stek29/LoggerPlusPlus that referenced this issue May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants