JAVA API:
ABOUT OutStreamWriter:
"An OutputStreamWriter is a bridge from character streams to byte
streams: Characters written to it are encoded into bytes using a
specified
.
The charset that it uses may be specified by name or may be given explicitly, or
the platform‘s default charset may be accepted."charset
「OutputStreamWriter是连接字符流和字节流的桥梁:写入这个类的字符流会被编码为“charset”所指示的编码格式。这个charset可以通过名字指定或是直接给出,也接受平台的默认charset(好像是UTF-8)。」
ABOUT FileWriter:
"The constructors of this class assume that the default character encoding and the default byte-buffer size are acceptable."
「这个类的构造函数假定用户使用默认的编码方式,并且允许使用默认的字节缓冲大小。」
OutStreamWriter 和 Filewriter,布布扣,bubuko.com
原文:http://www.cnblogs.com/larrylawrence/p/3573343.html