diff --git a/main.py b/main.py
index e9052b4aa4af47c78975107372cc49a9c81da4e7..a405223485ce354c5d80d0e5559af3d961081185 100755
--- a/main.py
+++ b/main.py
@@ -39,7 +39,10 @@ def show_meta(filename:str):
         return
     print("[+] Metadata for %s:" % filename)
     for k,v in p.get_meta().items():
-        print("  %s: %s" % (k, v))
+        try:  # FIXME this is ugly.
+            print("  %s: %s" % (k, v))
+        except UnicodeEncodeError:
+            print("  %s: harmful content" % k)
 
 def clean_meta(filename:str):
     if not __check_file(filename, os.R_OK|os.W_OK):