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

Look into using utf-8 encoded bytes/strings in pisi instead of the current latin-1 #71

Open
ermo opened this issue Apr 14, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ermo
Copy link
Contributor

ermo commented Apr 14, 2024

Goal:

  • Ensure that the ypkg and pisi code bases are properly type annotated so it is obvious where strings are expected and where bytes are expected
  • Ensure that bytes are always encoded / decoded as UTF-8 and/or HTML escapes in both pisi and ypkg

Considerations:

  • iksemel now encodes things it cannot print as UTF-8 "Runes" via URL escapes
  • py2 pisi will need to be supported for the lifetime of Solus 4.x

Interesting locations in the code:

  • ypkg2/metadata.py:create_eopkg
  • pisi/archive.py:add_to_install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant