Fix --noutf, fix onAction being called to many times, lot of small fixes
[jvcard.git] / src / be / nikiroo / jvcard / tui / panes / FileList.java
index dfc3b73114cf3ffda2f2989d74841a1e602a9e69..66e35ce2e43d9985507a149f2f4b8f09498cd2ac 100644 (file)
@@ -72,6 +72,8 @@ public class FileList extends MainContentList {
 
                String name = files.get(index).getName();
 
+               name = StringUtils.sanitize(name, UiColors.getInstance().isUnicode());
+
                count = " " + StringUtils.padString(count, SIZE_COL_1) + " ";
                name = " "
                                + StringUtils.padString(name, width - SIZE_COL_1