创建文件,换行 \r\n 换行 创建文件 FileOutputStream fos= new FileOutputStream("f:\\xx.txt",true); //显示英文字母 fos.write("daefaefa\r\n".getBytes());