Skip to content

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

@nLight

Description

@nLight

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

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions