ipython / ipython/ipykernel

Inconsistent character encoding from windows output

Open
#1,449 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
734
Forks
412
Avg merge
1d 5h
Merged PRs (30d)
8

Description

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)

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.