RandomAccessFile的乱码问题! wangshu3000 · 2007-09-19 11:27 · J2EE企业计算 · Markdown RandomAccessFile写中文出现乱码 解决方法:attachFile.write("中文".getBytes("UTF-8"));