mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
修复Windows对TiK ToK解析中文乱码的问题 强制进行UTF-8 编码
This commit is contained in:
parent
b63d8acf50
commit
d2ecdd2542
@ -27,7 +27,7 @@ function constructCookiePath(url, cookiePath) {
|
|||||||
* @returns {string}
|
* @returns {string}
|
||||||
*/
|
*/
|
||||||
function constructEncodingParam(url) {
|
function constructEncodingParam(url) {
|
||||||
return url.includes("youtu") ? "--encoding UTF-8" : "";
|
return "--encoding UTF-8"; // 始终为标题获取使用 UTF-8 编码
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user