Windows 10 Enterprise LTSC German, XYplorer v. 26.00.0300
Using a script I try to rewrite an utf8-encoded (utf8 according Notepad++) txt-file.
1. readfile(txt-file) or readfile(txt-file,"t") or readfile(txt-file,"t_BLU8") <- same results...,
2. some text transformations,
3. building new file content:
Code: Select all
if($file_ctn != ""){$file_ctn = $file_ctn<crlf>$line___n;}
if($file_ctn == ""){$file_ctn = $line___n;}
The problem is that the empty lines (lines, which content is only a <crlf>) on the start of the txt-file are cut.
What can I do to avoid empty lines cutting?
XYplorer Beta Club