sunyuechi

Results 49 comments of sunyuechi

This pr https://github.com/yihong0618/bilingual_book_maker/pull/148 is going to be completed today, and it introduces a lot of code that needs to be clean and refactored. I think it should be merged first...

@rivo Sorry for not expressing clearly, what I think is, when I create a flex layout, add some items into it, and then focus on any of the items, can...

好像是类似的编码问题 https://github.com/yihong0618/bilingual_book_maker/issues/189 https://github.com/yihong0618/bilingual_book_maker/blob/1b64fe031585d3c468f7a370298957ce4e05202e/book_maker/loader/txt_loader.py#L116 会不会是这里应该改成`with open(self.bin_path, "w", encoding="utf-8") as f:` 谁有这个错可以试一下 我不太清楚

@myforself 我没用过txt翻译,但txt有人没问题,有人有问题,那可能这本txt里有特殊符号,导致编码错误,或者可能是windows的编码问题(我没有windows) 复现不了..

你直接上传自己的txt吧,我怕你本地的那个文件和我这边自己下载的编码不一样(可能我想多了)

对啊 我是怕你在windows保存下来和其他系统编码不一样

在linux跑了十分钟然后ctrl+c没报错 生成了TSET_bilingual_temp.txt ![n](https://user-images.githubusercontent.com/89069008/230752298-e37ff5a2-a0e7-40e0-b920-fb645c9b66b8.png)