hectorqin / reader

阅读3服务器版,桌面端,iOS可用。后端 Kotlin + Spring Boot + Vert.x + Coroutine ;前端 Vue.js + Element。麻烦点点star,关注一下公众号【假装大佬】❗️ Demo服务器由于未备案已被关停,建议自行搭建
GNU General Public License v3.0
8.42k stars 5.24k forks source link

3.0.5,3.1.0,3.1.1 版本在我电脑都有乱码问题 #397

Closed ysinx closed 1 year ago

ysinx commented 1 year ago

获取章节目录失败! io.vertx.core.json.DecodeException: Failed to decode:Unrecognized character escape '-' (code 45)

at [Source: (String)"[{"bookUrl":"storage/data/default/澶х帇楗跺懡_/澶х帇楗跺懡.txt","tocUrl":"^[ 銆�\t]{0,4}\d{1,5}[锛�:,.锛� 銆乢鈥擻-].{1,30}$","origin":"locbook","originName":"storage\data\default\澶х帇楗跺懡\澶х帇楗跺懡.txt","name":"澶х帇楗跺懡","author":"","kind":null,"customTag":null,"coverUrl":null,"customCoverUrl":null,"intro":null,"customIntro":null,"charset":"GB18030","type":0,"group":0,"latestChapterTitle":" 2019锛屽挶浠�4鏈堣锛�","latestChapterTime":1687313621674,"lastCheckTime":1687313621674,"lastCheckCount":0,"totalChapterNum""[truncated 1365 chars]; line: 1, column: 64] (through reference chain: java.util.ArrayList[0])

hectorqin commented 1 year ago

java 版本多少?

ysinx commented 1 year ago

java 版本多少?

之前安装的是java10,也是同样的问题,现在安装的是java17,还是没能解决。 openjdk 11.0.16.1 2022-08-12 LTS OpenJDK Runtime Environment Microsoft-40648 (build 11.0.16.1+1-LTS) OpenJDK 64-Bit Server VM Microsoft-40648 (build 11.0.16.1+1-LTS, mixed mode)

3.0.3之后的windows版本无法导入书源 #398,之前我也触发过这个报错

hectorqin commented 1 year ago

点击 后端设定 旁边的设置

在 jvm 配置那里粘贴下面这一段,保存并重启

[
    "-Dfile.encoding=UTF-8"
]
ysinx commented 1 year ago

点击 后端设定 旁边的设置

在 jvm 配置那里粘贴下面这一段,保存并重启

[
    "-Dfile.encoding=UTF-8"
]

非常感谢,问题已解决