diff options
Diffstat (limited to 'src/base/UFiles.pas')
-rw-r--r-- | src/base/UFiles.pas | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/base/UFiles.pas b/src/base/UFiles.pas index 5a258e3e..1a7ca8f8 100644 --- a/src/base/UFiles.pas +++ b/src/base/UFiles.pas @@ -131,7 +131,9 @@ begin if (Song.Encoding = encUTF8) then SongFile.WriteString(UTF8_BOM); - SongFile.WriteLine('#ENCODING:' + EncodingName(Song.Encoding)); + // do not save "auto" encoding tag + if (Song.Encoding <> encAuto) then + SongFile.WriteLine('#ENCODING:' + EncodingName(Song.Encoding)); SongFile.WriteLine('#TITLE:' + EncodeToken(Song.Title)); SongFile.WriteLine('#ARTIST:' + EncodeToken(Song.Artist)); |