question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support cyrillic text in pass.json

See original GitHub issue

Hi After updating from 4.3.1 to 6.4.0 the cyrillic text in pass.json became broken.

I have looked in to this issue and figured out that code in pass.ts zip.push({ path: 'pass.json', data: JSON.stringify(this) });

should be zip.push({ path: 'pass.json', data: Buffer.from(JSON.stringify(this)) });

So this way do-not-zip module will make correct files, otherwise it will make non english text to gibberish

I will make a pull request in a few.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
tinovyatkincommented, May 23, 2019

Fixed in 6.4.4, thank you!

0reactions
Asp3ctuscommented, May 23, 2019

Thanks, for lightning fast response and action!!! This was awesome!!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to encode Cyrillic characters in JSON - Stack Overflow
If you want json to output a string that has non-ASCII characters in it then you need to pass ensure_ascii=False and then encode...
Read more >
How to customize character encoding with System.Text.Json
Learn how to customize character encoding while serializing to and deserializing from JSON in .NET.
Read more >
Solved: Cyrillic alphabet characters in JSON response
Solved: Hi Everyone, I am wondering how to get a JSON response with Cyrillic characters in SoapUI. If I set Content-Type "application/json;
Read more >
Python JSON Encode Unicode and non-Ascii characters as-is
Let' see how store all incoming non-ASCII characters escaped in JSON. It is a safe way of representing Unicode characters. By setting ...
Read more >
Is there a way to view cyrillic letters in a JSON file normally?
A JSON file is just text. Cyrillic letters should be there according with the encoding of the text itself: you just need the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found