open-contracting / ocdskit

A suite of command-line tools for working with OCDS data
https://ocdskit.readthedocs.io
BSD 3-Clause "New" or "Revised" License
17 stars 7 forks source link

combine-release-packages #62

Closed JArielMG closed 5 years ago

JArielMG commented 5 years ago

When generating the out.json file by combining the release-packages files, the file shows the accented words with symbols and all the text in a single line.

The command used to generate the file is:

curl | jq -crM. | ocdskit combine-record-packages> out.json

From these files, how is the file generated in XLSX format?

@jpmckinney Thank you

jpmckinney commented 5 years ago

Do you mean the kind of Excel file that the validator offers?

JArielMG commented 5 years ago

No, when you combine the 193 json files and make a single file in json format, it shows the letters accented with symbols, for example:

and all the text is in a single line.

jpmckinney commented 5 years ago

If you are reading the JSON file as a human (instead of as a machine), I can see the benefit of encoding non-ASCII characters as UTF-8 instead of escaped sequences. I've opened #63 to fix that.

To make the text be indented and split across many lines, use --pretty