且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Java FileOutputStream中编写新行

更新时间:2023-12-03 20:22:40

这可能是观众问题...尝试打开EditPlus或Notepad ++中的文件。 Windows记事本可能无法识别其他操作系统的换行符。您现在在哪个程序中查看该文件?

It could be a viewer problem... Try opening the file in EditPlus or Notepad++. Windows Notepad may not recognise line feed of another operating system. In which program are you viewing the file now?