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

Model output schemas with £ signs have incorrect encoding #355

Open
greg-wiltshire opened this issue Mar 20, 2023 · 0 comments
Open

Model output schemas with £ signs have incorrect encoding #355

greg-wiltshire opened this issue Mar 20, 2023 · 0 comments

Comments

@greg-wiltshire
Copy link
Contributor

Bug Report

Steps to Reproduce:

  1. create a model that uses the csv schema importer to set the out dataset's schema
  2. in the format_code entry of the schema set it as ",|.|0|£||1" for any float or integer field (this is interpreted as an amount in GBP by the UI)
  3. run the model via the TRAC UI
  4. get the output dataset via the TRAC API.

Expected Result:

The schema will be returned via the API as defined in the CSV

Actual Result:

The schema is returned with the wrong encoding to the £ sign. e.g. £

Environment:

TRAC UI : 0.5.24",
local TRAC sandbox TRAC: 0.5.24

Defined output schema:

image

Formatted table using schema from API:

image

@pszajows pszajows self-assigned this Mar 20, 2023
@pszajows pszajows removed their assignment Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants