Polygon

Results 383 comments of Polygon
trafficstars

如果你的文件是别的编码,用gbk打开后英文正常的,中文会乱码,乱码的路径自然找不到。所以推测是编码问题。

```js return JSON.parse(await Zotero.File.getContentsAsync("E:\\Zotero\\zoterofigure\\data\\ZFTJZ9QPIto 等 - 2022 - Well‐Controlled Living Polymerization of N .json", "gbk")) ``` 运行上述代码试试,json路径换成你的(注意用`\\`分割),gbk可以换成你的编码,看看哪个输出的json 是正确的 ![image](https://github.com/MuiseDestiny/zotero-figure/assets/51939531/62e273e0-fced-4132-bb96-58d38b3fe20e) ![image](https://github.com/MuiseDestiny/zotero-figure/assets/51939531/38c5786b-6660-4e26-bb67-f2b5ec87fab9)

> GBK的结果 ![1685783152566](https://user-images.githubusercontent.com/71599882/243072884-f9c61c48-34c4-4a02-974d-9c82d38abf31.jpg) UTF-8的结果 ![1685783192560](https://user-images.githubusercontent.com/71599882/243072892-cabaaec1-4f8e-4077-98a0-2b37017bd5bd.jpg) GBK解码会乱码... 我把编码方式提供个首选项

![image](https://github.com/MuiseDestiny/zotero-figure/assets/51939531/84d90651-d198-4ce9-8981-ab5e1894b9e7) 1. 重新下载最新版xpi安装(刚刚上传的) 2. 参考上图,改为你的编码

> OK 辛苦啦,请教一下哪里产生的编码差异?zotero设置、计算机、还是java版本(18.0.2.1)? 我也不清楚这个,没有深究

I made this plugin that defines groups of pdf annotation colors and you can switch between them at will. Before the official color definition is made, you can achieve more...

shift p=>标注。你应该修改了,但没有改好,请继续补全名称颜色信息。

![image](https://github.com/MuiseDestiny/zotero-style/assets/51939531/3740db91-2dbc-40bd-a01c-64afcd65c775) 排序按键呢

https://gitee.com/MuiseDestiny/BiliBili/blob/master/zotero-style.xpi 试试这个,我在它基础上测试,一切正常,功能全开。