Home > php教程 > php手册 > PHP GBK UTF8互转

PHP GBK UTF8互转

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 19:38:33
Original
1586 people have browsed it

留作标记 无 function gbk_to_utf8($str){return mb_convert_encoding($str, 'utf-8', 'gbk');}function utf8_to_gbk($str){return mb_convert_encoding($str, 'gbk', 'utf-8');}

留作标记
function gbk_to_utf8($str){
	return mb_convert_encoding($str, 'utf-8', 'gbk');
}

function utf8_to_gbk($str){
	return mb_convert_encoding($str, 'gbk', 'utf-8');
}
Copy after login
Related labels:
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
Latest Issues
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template