skip to main
|
skip to sidebar
[jojo mclntosh:Blogger];
Simplicity is something of infinite beauty~~!
Tuesday, January 29, 2008
java读取utf-8编码文件
发觉直接读中文会出现乱码,所以要这样:
BufferedReader br=new BufferedReader(new InputStreamReader (new FileInputStream(new File("utf-8.txt")),"UTF-8"));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Labels
linux
(13)
同步opera blog(http://my.opera.com/jojomclntosh)
(9)
随手记
(8)
gentoo
(4)
FreeBSD
(3)
java
(3)
JEE
(2)
OpenWRT
(2)
apple
(2)
dd-wrt
(2)
oracle
(2)
psp
(2)
spring
(2)
tomato
(2)
wifi
(2)
wii
(2)
wl-500gp v2
(2)
转贴
(2)
3Ds
(1)
AGP 2x
(1)
JForum
(1)
MTD,swap
(1)
Mac OS
(1)
ODBC
(1)
PowerMac G4 400
(1)
RHEL
(1)
Ruby
(1)
ibook
(1)
ireport
(1)
jasperreport
(1)
locale
(1)
mac
(1)
miniBSD
(1)
polo
(1)
ramdisk
(1)
swap
(1)
tmpfs
(1)
vnc
(1)
同步opera
(1)
Blog Archive
►
2009
(1)
►
Sep
(1)
▼
2008
(25)
►
Dec
(2)
►
Sep
(5)
►
Aug
(1)
►
Jun
(2)
►
Apr
(4)
►
Mar
(1)
►
Feb
(3)
▼
Jan
(7)
java读取utf-8编码文件
Ruby
溜车事故
wii游戏复制成功
spring的Message Driven POJO (MDP)
将Quartz集成到geronimo中
RAW FTP Commands
►
2007
(23)
►
Dec
(1)
►
Mar
(18)
►
Jan
(4)
►
2006
(23)
►
Dec
(10)
►
Nov
(13)
No comments:
Post a Comment