I tried to fetch the RSS feed from https://www.52pojie.cn/forum.php?mod=rss&fid=2, but the information I got is garbled. I also tried using iconv-lite with the following code:
export const code = async (inputs) => {
const iconv = require('iconv-lite');
var Buffer = require('buffer').Buffer;
const inputText = inputs.title;
const buffer = Buffer.from(inputText, 'binary');
return iconv.decode(buffer, 'gbk');
};
But it is still garbled. Can someone help me solve this?