当我使用文本编辑器“Notepad++”时, 我发现一个“以UTF-8无BOM格式编码”的方式,如果Web页面的源文件以 UTF-8 格式编码的话,在校验 xhtml文件时会出来一条如下警告:
Byte-Order Mark found in UTF-8 File.
The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.
意思是说使用utf-8的格式编码会在一些编辑器和老的浏览器上产生问题,最好是考虑避免这些问题,除非它们得到更好的支持。在这里我得到了更多的信息 http://unicode.org :
继续阅读…
目录:程序设计
Linksys Wireless-G Access Point: WAP54G
首先,我没有安装CD,不知道AP的IP地址是多少,所以我按Reset键重置了一下。
- 在路由器上添加多子网段 192.168.1.1,当然路由器没有这个功能的只能直接将路由局域网IP设置为此,然后在电脑中添加同网段的IP,如 192.168.1.10。最后在浏览器中访问此AP的默认地址:192.168.1.245.用户名为空,密码是 “admin”。
- 默认AP的模式( mode)是“ Access Point”。
- 点击“Wireless”,Mode(模式)为Mixed,修改Network Name(SSID),也就是搜索无线网络时显示的那个名称。Channel(频段),如果是使用单个AP的话可以不用修改,如果使用多个每个AP使用不同的频段比较好。
- 点选 Security,“Security Mode”我选择WPA-Personal,“Encryption”选择TKIP,然后填入Passphrase(密钥),客户端连接到此AP时需要填入此密钥方可接入网络。
- Save settings(保存设置),就好了。
目录:说点什么
因为最小化安装的PHP,很多扩展没有启用,在登陆phpMyAdmin时得到一个警告:
The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results.
我发现 http://www.php.net/mbstring 上有介绍说:
mbstring provides multibyte specific string functions that help you deal with multibyte encodings in PHP.
Note: If you are connecting to a database with PHP, it is recommended that you use the same character encoding for both the database and the internal encoding for ease of use and better performance.
If you are using PostgreSQL, the character encoding used in the database and the one used in PHP may differ as it supports automatic character set conversion between the backend and the frontend.
继续阅读…
目录:PHP
标签: phpMyAdmin
注:单装FreeBSD,非多系统安装。
我的配置:
- Intel(R) Pentium(R) M processor 1.60GHz (1596.02-MHz 686-class CPU)
- Mobile Intel 915GM/GMS,910GML Express Chipset Family
- DDR533 512M
- FUJITSU SATA 5400rps 60GB
继续阅读…
目录:FreeBSD
记得第一次真正使用计算机,是在高中时在学校外面的网吧,从互联网进入小城市开始,网吧的开启让我同时有了接触电脑和互联网的机会。
最开始接触的操作系统就是Windows 98,当时没有操作系统的概念,认为计算机整个儿就是这个样子,后来高中的学校开了计算机课,学校机房用都是老式的卧式电脑外加Dos操作系统,我这才了解到Windows 98之前还有别的操作系统。
到上大学时才开始接触Linux,当时听说红旗是国内研究的一套Linux操作系统,不知道互联网上可以下载(当时还不知道使用搜索引擎),跑去买系统光碟,结果说没有红旗,只有红帽(redhat),就买了一个fedora 3(当时都不知道redhat9都已经是过去时了,红帽公司已经有了相当高的知名度),从此开始了在我的电脑上折腾双系统的时代,尝试着使用Linux桌面。对于当时的Linux来说,显卡等的驱动程序还是一件很麻烦的事情,当时的Linux桌面在没有经验的前提下配置也很拙劣,还是使用较少。但是从此开始,我对操作系统的兴趣就一直在增长。
继续阅读…
目录:说点什么
标签: OS