一、关于字符集字符集(也称字元集,Character
Set)就是字符编码表(codepage),一个字符不论英文、中文、韩文等在计算机系统内存或硬盘中通过二进制的字节(Byte)保存,这个二进制的编码就是字符编码(也称内码),字符集就是字符与内码的对应(映射)表。因为多国语言的原因,就出现了根据本...
分类:
数据库 时间:
2014-05-26 22:56:47
阅读次数:
536
查找资料的时候发现不错的文章,自己翻译之后分享给大家!一个基本的该类型字符串例子:@"This
is a constant character string object";在后台显示它:NSLog (@"%@", @"This is a constant
character string obje...
分类:
其他好文 时间:
2014-05-26 20:34:38
阅读次数:
278
using UnityEngine;//this class holds movement
functions for a rigidbody character such as player, enemy, npc..//you can then
call these functions from...
分类:
其他好文 时间:
2014-05-26 07:24:38
阅读次数:
228
【题目】
Implement wildcard pattern matching with support for '?' and '*'.
'?' Matches any single character.
'*' Matches any sequence of characters (including the empty sequence).
The matching should cover the entire input string (not partial).
The functi...
分类:
其他好文 时间:
2014-05-23 00:17:12
阅读次数:
364
在内部测试服务器上新安装了mysql,在服务器本地登录数据库没问题,但是远程不能登录,试着用telnet命令连接mysql服务器,结果命令行给出如下提示:
telnet 192.168.41.191 3306
Trying 192.168.41.191...
Connected to 192.168.41.191.
Escape character is '^]'.
GHost ...
分类:
数据库 时间:
2014-05-22 23:56:50
阅读次数:
457
【题目】
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'.
A partially filled sudoku which is valid.
Note:
A valid Sudoku board (par...
分类:
其他好文 时间:
2014-05-22 09:58:54
阅读次数:
234
Reverse the word order in a sentence, but maintain
the character order inside a word.
分类:
其他好文 时间:
2014-05-22 03:50:14
阅读次数:
289
在编写Python程序时,程序中有中文时经常会出现错误信息:SyntaxError: Non-ASCII character '\xe5'
出现这种情况,可以用如下解决办法:
python的默认编码文件是用的ASCII码,你将文件存成了UTF-8,解决办法很简单,在文件开头加入如下代码:
#coding=utf-8
这就可以了。...
分类:
编程语言 时间:
2014-05-21 15:58:40
阅读次数:
240
jad支持所有内部和匿名的类4.命令行选择的列表-a-用JVM字节格式来注解输出-af-同-a,但是注解的时候用全名称-clear-清除所有的前缀-b-输出多于的括号(e.g.,if(a){b();},default:no)-d<dir>-指定输出文件的文件目录-dead-试图反编译代码的dead部分(default:no)-disass-不用..
分类:
编程语言 时间:
2014-05-21 02:33:58
阅读次数:
368