码迷,mamicode.com
首页 >  
搜索关键字:illegal utf8 encoding at    ( 14822个结果
ADODB的应用
Connect("localhost", "root", "", "php100")or die("错误");$db->Execute("set names 'UTF8'");$query=$db->execute("select * from `php100`");while($row=$quer...
分类:数据库   时间:2014-06-28 13:59:08    阅读次数:294
C#文件与流(FileStream、StreamWriter 、StreamReader 、File、FileInfo、Directory、directoryInfo、Path、Encoding)
(FileStream、StreamWriter 、StreamReader 、File、FileInfo、Directory、DirectoryInfo、Path、Encoding)C#文件与流(FileStream、StreamWriter 、StreamReader 、File、FileInf...
分类:其他好文   时间:2014-06-25 22:36:54    阅读次数:262
SyntaxError: Non-ASCII character '\xe5' in file a.py on line 9, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
SyntaxError: Non-ASCII character '\xe5' in file a.py on line 9, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details在文件头...
分类:编程语言   时间:2014-06-24 22:13:37    阅读次数:443
dictionay疑
//DataContractJsonSerializer ser = new DataContractJsonSerializer(typeof(Dictionary));//MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(json...
分类:其他好文   时间:2014-06-23 08:29:28    阅读次数:269
vim各种编码设置问题
vim各种编码设置问题 vim中主要有四个编码相关的设置,具体是~/.vimrc中: 以下是我的设置: set fileencodings=gb18030,utf-8,gb2312,gbk; set termencoding=gb18030; set encoding=utf-8; fileencoding注意这个不是有我们设置的,这是vim探测。 encodin...
分类:其他好文   时间:2014-06-22 22:11:19    阅读次数:245
mysql基本用法
最近项目使用mysql数据库,以前没接触过。所以找了些资料学习。 目前通过navicat for mysql工具进行mysql数据基本操作。 1.安装navicat for mysql后,建立连接。 2.导入需要创建的sql语句。通过选中库名称右键运行sql文件,加载需要导入的sql语句。 3.增加其中数据,注意增加的字段如果增加提示1306错误,需要修改字段的符号位utf8后即可增加 ...
分类:数据库   时间:2014-06-22 21:11:36    阅读次数:210
Myeclipse重装后的必要配置
一、JDK位置 每台机器允许多个jdk版本存在,编译时选择需要使用的jdk即可。MyEclipse—>Properties—>Java—>Installed JRES选择jdk位置 二、编码 ①window—>preference—>general—>content type,展开每一项并在Default encoding中输入UTF-8并点击update按钮 ②window—>p...
分类:系统相关   时间:2014-06-22 16:43:36    阅读次数:333
cocos2dx --- VS 使用utf8 编码问题
VS 使用utf8 编码问题...
分类:其他好文   时间:2014-06-22 16:40:10    阅读次数:313
python 遇到 syntaxerror: non-ascii character问题
在源文件的第一行或第二行添加:(必须在第一行或者第二行)  # -*- coding:utf-8 -*-   详细信息如下面解释: Python对于decode&encode错误的默认处理方式为strict,也就是直接报错,而java使用replace的方式来处理了,因此java出现中文问题后会打印出很多"??"。此外,Python的默认的encoding是ASCII,而java的默认e...
分类:编程语言   时间:2014-06-21 23:25:51    阅读次数:516
android基础之LinearLayout布局
LinearLayout布局:<?xmlversion="1.0"encoding="utf-8"?><LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"xmlns:tools="http://schemas.android.com/tools"android:layout_width="match_parent"android:layout_height="match_parent"androi..
分类:移动开发   时间:2014-06-21 19:17:45    阅读次数:239
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!