- 博客(9)
- 收藏
- 关注
原创 更改java web项目编码的过程记录
最近在java web项目开发过程中遇到了很多非常让人头痛的问题。其中一个就是项目编码更换问题。此篇文章记录了整个项目编码码更换的过程。本来在项目使用的UTF-8编码,一切是如此的完美,但由于种种原因,项目最终不得不使用GBK编码,各种问题就接踵而至。在项目已开发了大部分的情况需要改变编码(UTF-8转到GBK),更改编码是件不得不慎重的事情,稍有不甚就造成大量的乱码,不仅会引起大家的不满,还
2012-04-06 14:31:17 2040
翻译 The Python Tutorial 3.2-4 More Control Flow Tools(深入控制流)
4. More Control Flow Tools(深入控制流)Besides the while statement just introduced, Python knows the usual control flow statements known from other languages, with some twists.除了上一节介绍的 while 循环语句外,Pyt
2012-03-11 00:34:37 1149
翻译 The Python Tutorial 3.2 - 8Errors and Exceptions(错误和异常)
8. Errors and Exceptions错误和异常Until now error messages haven’t been more than mentioned, but if you have tried out the examples you have probably seen some. There are (at least) two distinguishable
2012-03-10 01:53:21 855
翻译 The Python Tutorial 3.2-6Modules(模块)
6. Modules(模块)If you quit from the Python interpreter and enter it again, the definitions you have made (functions and variables) are lost. Therefore, if you want to write a somewhat longer progra
2012-02-17 16:32:37 869
翻译 The Python Tutorial 3.2-3 An Informal Introduction to Python(Python简介)
3. An Informal Introduction to Python(Python简介)In the following examples, input and output are distinguished by the presence or absence of prompts (>>> and ...): to repeat the example, you must ty
2012-02-13 12:57:34 1224
翻译 The Python Tutorial 3.2-2使用Python解释器
2. Using the Python Interpreter(使用Python解释器)2.1. Invoking the Interpreter(调用解释器)The Python interpreter is usually installed as /usr/local/bin/python3.2 on those machines where it is available; p
2012-02-10 13:31:45 1214
翻译 The Python Tutorial 3.2-1Whetting Your Appetite(开胃菜)
1. Whetting Your Appetite(开胃菜)If you do much work on computers, eventually you find that there’s some task you’d like to automate. For example, you may wish to perform a search-and-replace over a
2012-02-10 10:56:28 516
转载 如何学好C语言
我相信,这可能是很多朋友的问题,我以前也有这样的感觉,编程编到一定的时候,发现能力到了瓶颈,既不深,也不扎实,半吊子。比如:你长期地使用Java和.NET ,这些有虚拟机的语言对于开发便利是便利,但是对于程序员来说可能并不太好,原因有两个:虚拟机屏蔽了操作系统的系统调用,以及很多底层机制。大量的封装好的类库也屏蔽了很多实现细节。一段时间后,你会发现你知其然,不知所以然。。我以前在CSD
2011-11-30 20:02:56 427
转载 关于C的思考
关于C的思考Cong WangMay, 2006Network Engineering DepartmentInstitute of Post and Telecommunications, Xi'an, P.R.China引言 C语言结合了汇编的所有威力,它的抽象程度碰巧既满足了程序员的要求, 又容易实现。因其独特的灵活性和强大的可移植性,系
2011-11-23 13:37:10 531
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人