Skip to content

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

Merged
deronnax merged 6 commits into
python:3.8from
deronnax:using_windows
Apr 2, 2020
Merged

using/windows : UTF-8 + locale.getlocaleencoding#1215
deronnax merged 6 commits into
python:3.8from
deronnax:using_windows

Conversation

@deronnax

Copy link
Copy Markdown
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

@awecx awecx left a comment

Copy link
Copy Markdown

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.

Comment thread using/windows.po Outdated
Comment thread library/locale.po Outdated
Comment thread library/locale.po Outdated
Comment thread library/locale.po Outdated
Comment thread library/locale.po Outdated
Comment thread using/windows.po Outdated
@deronnax

Copy link
Copy Markdown
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

Co-Authored-By: Antoine <43954001+awecx@users.noreply.github.com>
@christopheNan

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@deronnax

Copy link
Copy Markdown
Collaborator Author

OK, je vais changer pour utiliser « encodage » partout

@awecx

awecx commented Mar 30, 2020

Copy link
Copy Markdown

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
Copy Markdown
Contributor

Oui, 👍

@deronnax

deronnax commented Apr 1, 2020

Copy link
Copy Markdown
Collaborator Author

approval please (ça me tue)

@christopheNan

Copy link
Copy Markdown
Contributor

Non, ça te rend plus fort.

@deronnax
deronnax requested a review from christopheNan April 1, 2020 21:05
@deronnax

deronnax commented Apr 2, 2020

Copy link
Copy Markdown
Collaborator Author

❤️

@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