Re: [Bug Report] Encoding Problem on Windows 10 while Reconfiguring

2023-09-18 Thread José Matos
On Mon, 2023-09-18 at 13:28 +0200, Pavel Sanda wrote: > Actually maybe the python default in lyx's windows release is now v3 > so we don't need to do anything... My thinking as well. :-) -- José Abílio -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-de

Re: [Bug Report] Encoding Problem on Windows 10 while Reconfiguring

2023-09-18 Thread Pavel Sanda
On Mon, Sep 18, 2023 at 01:25:34PM +0200, Pavel Sanda wrote: > On Mon, Sep 18, 2023 at 12:06:52PM +0100, José Matos wrote: > > On Mon, 2023-09-18 at 10:39 +0200, Pavel Sanda wrote: > > > Jose, does it mean that you propose patching Python source? Can't we > > > fix this ourselves? > > > Pavel > >

Re: [Bug Report] Encoding Problem on Windows 10 while Reconfiguring

2023-09-18 Thread Pavel Sanda
On Mon, Sep 18, 2023 at 12:06:52PM +0100, José Matos wrote: > On Mon, 2023-09-18 at 10:39 +0200, Pavel Sanda wrote: > > Jose, does it mean that you propose patching Python source? Can't we > > fix this ourselves? > > Pavel > > This issue is discussed here. And now I understand why the need for > r

Re: [Bug Report] Encoding Problem on Windows 10 while Reconfiguring

2023-09-18 Thread José Matos
On Mon, 2023-09-18 at 10:39 +0200, Pavel Sanda wrote: > Jose, does it mean that you propose patching Python source? Can't we > fix this ourselves? > Pavel This issue is discussed here. And now I understand why the need for reload: https://stackoverflow.com/questions/3828723/why-should-we-not-use-s

Re: [Bug Report] Encoding Problem on Windows 10 while Reconfiguring

2023-09-18 Thread Pavel Sanda
On Sun, Sep 17, 2023 at 04:55:32PM +0100, José Matos wrote: > On Sun, 2023-09-17 at 11:48 +0800, Dai Longzhi ? wrote: > > How to fix: > > I found a way in Zhihu.com. It add this: > > import sys > > reload(sys) > > sys.setdefaultencoding("utf-8") > > in "C:\Program Files\LyX 2.3\Python\Lib\

Re: [Bug Report] Encoding Problem on Windows 10 while Reconfiguring

2023-09-17 Thread José Matos
On Sun, 2023-09-17 at 11:48 +0800, Dai Longzhi 戴龙至 wrote: > How to fix: > I found a way in Zhihu.com. It add this: > import sys > reload(sys) > sys.setdefaultencoding("utf-8") > in "C:\Program Files\LyX 2.3\Python\Lib\subprocess.py". Then the > Reconfiguring works. > > I am not sure someone will