编码有关问题细节

WBOY
Release: 2016-06-13 13:39:30
Original
735 people have browsed it

编码问题细节
当在 cmd 命令中输入的字符的时候,是什么编码与自己设置(set names utf8/gbk)的有关么?
还是不管什么怎么设置,输入就是gbk字符集?

------解决方案--------------------
既然是 cmd 命令,自然就是在 window 下了
当然也就是 GBK 了,除非你用的是台湾的机器 Big-5

那么能设 set names 呢?那要看你的数据库使用的是什么编码了
当然都 set names gbk 肯定是不会错的

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!