--- a/plugins/codec_mp3/MP3EncoderSettings.cpp
+++ b/plugins/codec_mp3/MP3EncoderSettings.cpp
@@ -16,6 +16,8 @@
  ***************************************************************************/
 
 #include "config.h"
+
+#include <QDir>
 
 #include <kconfiggroup.h>
 #include <kglobal.h>
@@ -57,7 +59,9 @@
     for (int i = 0; i < str.length(); i++) {
 	QCharRef c = str[i];
 	if ( c.isLetterOrNumber() || c.isSpace() ||
-	     (c == '-') || (c == '%') || (c == '=') )
+	     (c == '-') || (c == '%') || (c == '=') || (c == '.') ||
+	     (c == '[') || (c == ']') ||
+	     (c == QDir::separator()) )
 	{
 	    out += c;
 	}
@@ -98,6 +102,9 @@
     LOAD(m_flags.m_protect,                "flags_protect______________");
     LOAD(m_flags.m_prepend,                "flags_prepend______________");
     LOAD(m_flags.m_append,                 "flags_append_______________");
+
+    LOAD(m_info.m_help,                    "info_help__________________");
+    LOAD(m_info.m_version,                 "info_version_______________");
 }
 
 /***************************************************************************/
@@ -133,6 +140,9 @@
     SAVE(m_flags.m_protect,                "flags_protect______________");
     SAVE(m_flags.m_prepend,                "flags_prepend______________");
     SAVE(m_flags.m_append,                 "flags_append_______________");
+
+    SAVE(m_info.m_help,                    "info_help__________________");
+    SAVE(m_info.m_version,                 "info_version_______________");
 }
 
 /***************************************************************************/