diff --git a/AutoTag.cli/AutoTag.cs b/AutoTag.cli/AutoTag.cs index b3b86ea..d407c14 100644 --- a/AutoTag.cli/AutoTag.cs +++ b/AutoTag.cli/AutoTag.cs @@ -108,7 +108,8 @@ namespace AutoTag.cli { internal static bool IsAllowed(string filename) => AllowedFileTypes.Any(filename.EndsWith); internal static string CleanFileName(string fileName) { - return Path.GetInvalidFileNameChars().Aggregate(fileName, (current, c) => current.Replace(c.ToString(), string.Empty)); + return Path.GetInvalidFileNameChars().Aggregate(fileName, (current, c) => current.Replace(c.ToString(), string.Empty)) + .Replace(":", " -"); //var tempBytes = Encoding.GetEncoding("ISO-8859-8").GetBytes(str); //return Encoding.UTF8.GetString(tempBytes); }