关于文件的多字符集处理有关问题

WBOY
Release: 2016-06-13 13:49:49
Original
698 people have browsed it

关于文件的多字符集处理问题
拿到一个文件怎么判断其内容是用什么字符集进行编码的?

------解决方案--------------------
如果在windows下面,用IMultiLanguage2::DetectInputCodepage
------解决方案--------------------
mb_detect_encoding

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!