ipython / ipython/ipykernel

Inconsistent character encoding from windows output

未關閉
#1,449 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
734
分支
412
平均合併
1 天 5 小時
30 天內合併 PR
8

描述

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)

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
jupyter-notebook, python
領域
backend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
30/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。