sphider 中文不在乱码

上传者: lixiaoji9 | 上传时间: 2022-10-16 14:35:42 | 文件大小: 90KB | 文件类型: RAR
最近应朋友的要求,帮忙做一下本地化的搜索引擎,所以花了点时间探索sphider,刚开始也跟很多网友一样涉及到了字符编码、乱码的问题。可以看到拉丁字符都正常显示而中文字符都是乱码。在我的数据库里使用 utf8_general_ci 编码,所以花了点时间把sphider也做了修改。希望能帮到大家。

文件下载

资源详情

[{"title":"( 75 个子文件 90KB ) sphider 中文不在乱码","children":[{"title":"sphider","children":[{"title":"settings","children":[{"title":"database.php <span style='color:#111;'> 529B </span>","children":null,"spread":false},{"title":"conf.php <span style='color:#111;'> 4.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"search.php <span style='color:#111;'> 3.56KB </span>","children":null,"spread":false},{"title":"使用说明.txt <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"languages","children":[{"title":"es-language.php <span style='color:#111;'> 963B </span>","children":null,"spread":false},{"title":"sr-language.php <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"tr-language.php <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"it-language.php <span style='color:#111;'> 989B </span>","children":null,"spread":false},{"title":"en-language.php <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"cnt-language.php <span style='color:#111;'> 819B </span>","children":null,"spread":false},{"title":"pt-language.php <span style='color:#111;'> 915B </span>","children":null,"spread":false},{"title":"nl-language.php <span style='color:#111;'> 946B </span>","children":null,"spread":false},{"title":"pl-language.php <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"fi-language.php <span style='color:#111;'> 1.14KB </span>","children":null,"spread":false},{"title":"se-language.php <span style='color:#111;'> 906B </span>","children":null,"spread":false},{"title":"hr-language.php <span style='color:#111;'> 979B </span>","children":null,"spread":false},{"title":"cn-language.php <span style='color:#111;'> 817B </span>","children":null,"spread":false},{"title":"bg-language.php <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false},{"title":"ee-language.php <span style='color:#111;'> 988B </span>","children":null,"spread":false},{"title":"sk-language.php <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"fr-language.php <span style='color:#111;'> 989B </span>","children":null,"spread":false},{"title":"ru-language.php <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"lv-language.php <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false},{"title":"cz-language.php <span style='color:#111;'> 1.36KB </span>","children":null,"spread":false},{"title":"si-language.php <span style='color:#111;'> 1007B </span>","children":null,"spread":false},{"title":"ro-language.php <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"de-language.php <span style='color:#111;'> 1010B </span>","children":null,"spread":false},{"title":"fa-language.php <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false},{"title":"hu-language.php <span style='color:#111;'> 971B </span>","children":null,"spread":false},{"title":"cns-language.php <span style='color:#111;'> 817B </span>","children":null,"spread":false},{"title":"ar-language.php <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":false},{"title":"changelog <span style='color:#111;'> 10.03KB </span>","children":null,"spread":false},{"title":"sphider.sql.gz <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"include","children":[{"title":"commonfuncs.php <span style='color:#111;'> 13.69KB </span>","children":null,"spread":false},{"title":"searchfuncs.php <span style='color:#111;'> 17.44KB </span>","children":null,"spread":false},{"title":"categoryfuncs.php <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"common.txt <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"js_suggest","children":[{"title":"SuggestFramework.js <span style='color:#111;'> 14.54KB </span>","children":null,"spread":false},{"title":"SuggestFramework.css <span style='color:#111;'> 504B </span>","children":null,"spread":false},{"title":"suggest.php <span style='color:#111;'> 3.01KB </span>","children":null,"spread":false},{"title":"README.txt <span style='color:#111;'> 3.28KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"sphider-logo.png <span style='color:#111;'> 986B </span>","children":null,"spread":false},{"title":"sql","children":[{"title":"upgrade_to_1.2.6.sql <span style='color:#111;'> 221B </span>","children":null,"spread":false},{"title":"upgrade_new.sql <span style='color:#111;'> 150B </span>","children":null,"spread":false},{"title":"upgrade_to_1.2.sql <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"tables.sql <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false},{"title":"upgrade_to_1.2.5.sql <span style='color:#111;'> 160B </span>","children":null,"spread":false}],"spread":true},{"title":"install.txt <span style='color:#111;'> 6.04KB </span>","children":null,"spread":false},{"title":"upgrading.txt <span style='color:#111;'> 335B </span>","children":null,"spread":false},{"title":"admin","children":[{"title":"messages.php <span style='color:#111;'> 6.64KB </span>","children":null,"spread":false},{"title":"db_backup.php <span style='color:#111;'> 3.84KB </span>","children":null,"spread":false},{"title":"spiderfuncs.php <span style='color:#111;'> 23.07KB </span>","children":null,"spread":false},{"title":"db_main.php <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"admin.css <span style='color:#111;'> 5.65KB </span>","children":null,"spread":false},{"title":"log","children":null,"spread":false},{"title":"configset.php <span style='color:#111;'> 23.41KB </span>","children":null,"spread":false},{"title":"backup","children":null,"spread":false},{"title":"install.php <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false},{"title":"admin.php <span style='color:#111;'> 46.24KB </span>","children":null,"spread":false},{"title":"spider.php <span style='color:#111;'> 18.35KB </span>","children":null,"spread":false},{"title":"auth_old.php <span style='color:#111;'> 764B </span>","children":null,"spread":false},{"title":"tmp","children":null,"spread":false},{"title":"ext.txt <span style='color:#111;'> 198B </span>","children":null,"spread":false},{"title":"auth.php <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"templates","children":[{"title":"dark","children":[{"title":"search_form.html <span style='color:#111;'> 1.95KB </span>","children":null,"spread":false},{"title":"footer.html <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"header.html <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"search.css <span style='color:#111;'> 1.71KB </span>","children":null,"spread":false},{"title":"categories.html <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"search_results.html <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false}],"spread":true},{"title":"standard","children":[{"title":"search_form.html <span style='color:#111;'> 2.12KB </span>","children":null,"spread":false},{"title":"footer.html <span style='color:#111;'> 19B </span>","children":null,"spread":false},{"title":"header.html <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"search.css <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"categories.html <span style='color:#111;'> 2.31KB </span>","children":null,"spread":false},{"title":"search_results.html <span style='color:#111;'> 3.83KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"upgrade","children":[{"title":"upgrade.php <span style='color:#111;'> 3.15KB </span>","children":null,"spread":false},{"title":"upgrading.txt <span style='color:#111;'> 682B </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明