Skip to content
New issue

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

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

Already on GitHub? # to your account

Saving a transcript in a json format encodes non-ascii characters as codes. It should keep it as text #122

Open
nLight opened this issue Aug 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nLight
Copy link

nLight commented Aug 28, 2024

Describe the bug
Saving a transcript in a json format encodes non-ascii characters as codes. It should keep it as text.

To Reproduce

  1. assemblyai get <id> -> see normal text in the console
  2. assemblyai get -j <id> > output.json
  3. See something like
{
	"start": 5510,
	"end": 6471,
	"text": "\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c",
	"confidence": 0.904,
	"speaker": "A"
},

Expected behavior
expected to have text in json file

Desktop (please complete the following information):

  • OS: macOS M1
  • CLI Version AssemblyAI CLI v1.18.1
@nLight nLight added the bug Something isn't working label Aug 28, 2024
@github-staff github-staff deleted a comment from ViniciusSCG Oct 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants
@nLight @albtsantos @fcastillo90 and others