ipython / ipython/ipykernel

Inconsistent character encoding from windows output

Aperta
#1,449 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
734
Fork
412
Merge medio
1g 5h
PR unite (30g)
8

Descrizione

Looking at this issue in the JupyterLab repo, we wanted to migrate it here since it's not related to the JupyterLab frontend: https://github.com/jupyterlab/jupyterlab/issues/1239

Original report:

---

trying "!dir" in Jupyterlab Notebook, hoping for the best as there may be some "utf-8" standardization thanks to PEP 528 / 529, I see no effect: still badly decoded characters.

I have difficulties to guess from bugs.python.org if something can be done in Jupyterlab (or qtconsole) case: https://bugs.python.org/issue28675

Maybe I don't take the right example to see the PEP 528 / 529 effects.

![pep_528-529_where_are_you_hidden](https://cloud.githubusercontent.com/assets/4312421/20244096/794a1ea0-a973-11e6-8a5e-72b923914977.PNG)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reading the migrated JupyterLab issue 1239 and the referenced Python issue 28675, then reproduce `!dir` in a JupyterLab Notebook on Windows. Done means that characters from Windows command output are decoded correctly rather than appearing corrupted.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
jupyter-notebook, python
Ambito
backend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.