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

Specified asset name encoding #193

Merged
merged 1 commit into from
Jan 25, 2022

Conversation

alessandrokonrad
Copy link
Contributor

Since the encoding was never really specified for asset names and most projects use UFT-8, UTF-8 is now the standard for version 1.0. All future versions will use the hex encoding for asset names. Then we can also keep backwards compatibility.

Copy link
Member

@KtorZ KtorZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving with mixed feelings since asset names are not necessarily representable as valid UTF-8 byte sequences! This is mildly okay in this context because it only excludes those non representable asset-name from complying with this CIP.

Version 2 would need to address this issue.

@crptmppt crptmppt merged commit 7da6979 into cardano-foundation:master Jan 25, 2022
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

Successfully merging this pull request may close these issues.

None yet

4 participants