microsoft / vscode-jupyter-powertoys

PowerToys for Jupyter notebooks in VS Code
MIT License
72 stars 17 forks source link

Contextual help on R documents does not show the head title lines in correct encodings as in documents contents #74

Open Ellen-Gu opened 1 year ago

Ellen-Gu commented 1 year ago

The contextual help works very good for python notebooks. For R documents the contextual help also works well, except those head lines, titles, and subtitles. It looks like those lines are in different encodings than the documents contents. The contextual help on those lines often have one extra char before each of the letters. Seems like utf16 encoding strings show in utf8 settings.

I also have jupyterhub running jupyterlab notebooks. The contextual help on those jupyterlab pages do not have this issue. The vscode is attached to the same R kernel on the same docker container which jupyterhub is running on. I think both of vscode and jupyterhub use the same R documents from the same source. So for vscode there may be more encoding aspects to be considered. Thanks your for you help on this issue.

DonJayamanne commented 9 months ago

Thanks for filing thi sissue, sorry we never got back to you on this. Please can you share some sample code and steps on how to repro this issue. I.e. what code in R procuces this issue.