diff --git a/print_fzf.py b/print_fzf.py index 3c56fb2..3d6a31b 100644 --- a/print_fzf.py +++ b/print_fzf.py @@ -2,9 +2,8 @@ import os,sys #just a quick script to print the fzf.txt file content dn = os.path.dirname(os.path.realpath(__file__)) -fzf_file = open(dn + "/fzf.txt").read() -fzf_file = fzf_file.replace("", "") -fzf_file = fzf_file.replace('', '') - +fzf_file = open(dn + "/fzf.txt", encoding="utf-8").read() +fzf_file = fzf_file.replace("", "") +fzf_file = fzf_file.replace('', '') print(fzf_file) sys.exit() \ No newline at end of file