Thanks to visit codestin.com
Credit goes to github.com

Skip to content

using/windows : UTF-8 + locale.getlocaleencoding #1215

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

Merged
merged 6 commits into from
Apr 2, 2020

Conversation

deronnax
Copy link
Collaborator

J'ai fait locale.getlocaleencoding parce qu'il y a un lien à cette fonction dans la section UTF-8 de using/windows

awecx
awecx previously approved these changes Mar 29, 2020
Copy link

@awecx awecx left a comment

Choose a reason for hiding this comment

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

Merci pour cette PR.
Je ne sais pas s'il y a une distinction entre codage et encodage, je te ais confiance.

@deronnax
Copy link
Collaborator Author

Hmmm alors j'avais fait la trad en changeant « codage » pour « encodage », ensuite j'ai vu sur wikipedia que le terme favoris était plus « codage », bien qu'il n'y ait pas trop de règles, et du coup j'ai changé ma contribution pour laisser « codage » là où Deepl l'avait suggéré, mais je vois que y'a vraiment de règles/cohérence dans la manière où Deepl utilise les deux du coup je sais plus trop comment gérer ce truc. Au secours @christopheNan

@christopheNan
Copy link
Contributor

Je propose d'utiliser « encodage » pour être cohérent avec l'entrée dans le glossaire : l'encodage et le décodage sont les opérations qui permettent de passer du type str au type bytes et réciproquement.

@christopheNan
Copy link
Contributor

Et un encodage définit la manière d'encoder et décoder.

@deronnax
Copy link
Collaborator Author

OK, je vais changer pour utiliser « encodage » partout

@awecx
Copy link

awecx commented Mar 30, 2020

Et pourquoi ne pas garder « codage » pour désigner d'une norme d'encodage ?
Par exemple, « la norme de codage UTF-8 permet d'encoder… »

@christopheNan
Copy link
Contributor

Oui, 👍

@deronnax
Copy link
Collaborator Author

deronnax commented Apr 1, 2020

approval please (ça me tue)

@christopheNan
Copy link
Contributor

Non, ça te rend plus fort.

@deronnax deronnax requested a review from christopheNan April 1, 2020 21:05
@deronnax
Copy link
Collaborator Author

deronnax commented Apr 2, 2020

❤️

@deronnax deronnax merged commit e9e1d4f into python:3.8 Apr 2, 2020
@deronnax deronnax deleted the using_windows branch April 2, 2020 13:58
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.

3 participants