Joystream / Joystream/joystream

Fix non ASCII encoding on some fields

Open
#4,128 0 comments 0 reactions 1 assignee Claimed by @thesan View on GitHub
qn-hydra-board query-node should-have SP:2 to-triage
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

## Context
Right now some fields containing non ASCII characters will be decoded as a HEX instead of UTF8 after being submitted in an extrinsic parameters.
For example the title of [this proposal](https://dao-git-carthage-joystream.vercel.app/#/proposals/preview/3?network-config=https://54.172.154.45.nip.io/config.json)
See:
- https://github.com/Joystream/pioneer/issues/3418
- https://github.com/Joystream/pioneer/issues/3918

## Scope
There is a small chance this could be fixed in `@joystream/types` but it looks more like a `polkadot.js` issue.
In this case it could be patch in the query nodes mappings. Maybe in the string sanitizing function.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.