diff --git a/src/Dump_File/Plaintext.php b/src/Dump_File/Plaintext.php index 58787a0..ee18200 100644 --- a/src/Dump_File/Plaintext.php +++ b/src/Dump_File/Plaintext.php @@ -9,6 +9,7 @@ function open() { return fopen($this->file_location, 'w'); } function write($string) { + $string="\xEF\xBB\xBF".$string; return fwrite($this->fh, $string); } function end() {