学习了元祖,写了小程序。#encoding = utf-8 a = 
("success","false","what")print "first"print a #print all stringprint "\n"print 
"second"print a[:] #pirnt all string...
                            
                            
                                分类:
编程语言   时间:
2014-06-11 09:07:45   
                                阅读次数:
322
                             
                    
                        
                            
                            
                                1、问题描述:
        android 模拟器AVD方向键无法使用,如下图所示:
        
 2、解决方法:
        A、找到AVD的安装目录:
                  
     B、进入目录下找到   config.ini文件,修改下面属性:将 hw.dPad=no 改为yes就OK拉
     avd.ini.encoding=ISO-885...
                            
                            
                                分类:
移动开发   时间:
2014-06-08 16:35:52   
                                阅读次数:
208
                             
                    
                        
                            
                            
                                WebClient web = new CookieWebClient();
web.Encoding = Encoding.UTF8;
string regUrl = "http://test.com";
web.Headers.Add("Content-Type", "application/x-www-form-urlencoded");
byte[] post = Encoding.UTF...
                            
                            
                                分类:
Web程序   时间:
2014-06-08 10:50:57   
                                阅读次数:
324
                             
                    
                        
                            
                            
                                代码清单:
<?php
/**
 * 判断字符串是否为utf8编码,英文和半角字符返回ture
 * @author ruxing.li
 * @param $string
 * @return bool
 */
function is_utf8($string) {
    return preg_match('%^(?:
                    [\x09\x0A\x0D\x...
                            
                            
                                分类:
其他好文   时间:
2014-06-08 10:47:58   
                                阅读次数:
267
                             
                    
                        
                            
                            
                                1、设置编码为UTF-8
 在Windows-
                选择右侧框中的Text File encoding,改为utf-8
2、导入 格式化模板
windows-》preference—》java-》code style-》code template
点击import按钮
3、字体大小
Window
 - Preferences-》General...
                            
                            
                                分类:
系统相关   时间:
2014-06-08 09:43:18   
                                阅读次数:
245
                             
                    
                        
                            
                            
                                在网上找了很多相关的, 但都不太详细, 参考了下,自己终于写出来了.
首先说说我的版本
yii  : 1.1.15
ueditor : 1.4.3 utf8
事不宜迟, 马上开始.
首先在官网下载ueditor, 解压后把文件夹移动到yii项目的根目录喇
然后打开ueditor.config.js 修改var URL = window.UEDITOR_HOME_URL || '/u...
                            
                            
                                分类:
其他好文   时间:
2014-06-08 08:30:30   
                                阅读次数:
275
                             
                    
                        
                            
                            
                                //读取报告数据
                string data=null;
                using (System.IO.StreamReader sr = new System.IO.StreamReader(filePath, System.Text.Encoding.Default))
                {
                    ...
                            
                            
                                分类:
其他好文   时间:
2014-06-08 08:27:59   
                                阅读次数:
236
                             
                    
                        
                            
                            
                                Intent intent = getIntent();
        String contentUri = null;
        Uri uri =null;
        if (intent.getData() != null) {
            uri = intent.getData();
            contentUri = "file".e...
                            
                            
                                分类:
移动开发   时间:
2014-06-08 04:37:56   
                                阅读次数:
425
                             
                    
                        
                            
                            
                                default character encoding of the request or 
response body: If a character encoding is not specified, the Servlet 
specification requires that an enco....
                            
                            
                                分类:
其他好文   时间:
2014-06-08 00:19:22   
                                阅读次数:
270
                             
                    
                        
                            
                            
                                firebug 打UTF8 字符:var res = ""; for(var 
i=0x2000;i< 0x2bff ;i++){ res += i.toString(16) + "\t:" + unescape ( "%u" + 
i.toString(16) ) +"\t\t" ; } reshtt...
                            
                            
                                分类:
其他好文   时间:
2014-06-07 20:08:39   
                                阅读次数:
448