From 1929738073322059d9c3ab68296ad1fafb3e42ac Mon Sep 17 00:00:00 2001
From: Carlos Fenollosa <carlos.fenollosa@gmail.com>
Date: Fri, 6 Jun 2014 12:02:08 +0200
Subject: Implement Lex's suggestion

---
 bb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'bb.sh')

diff --git a/bb.sh b/bb.sh
index 57d71a3..5381d6d 100755
--- a/bb.sh
+++ b/bb.sh
@@ -221,7 +221,7 @@ global_variables() {
     # Experts only. You may need to tune the locales too
     # Leave empty for no conversion, which is not recommended
     # This default filter respects backwards compatibility
-    convert_filename="iconv -f utf-8 -t cp1251//translit | iconv -f cp1251 -t utf-8 | sed 's/^-*//' | tr [:upper:] [:lower:] | tr ' ' '-' | tr -dc '[:alnum:]-'"
+    convert_filename="iconv -f utf-8 -t ascii//translit | sed 's/^-*//' | tr [:upper:] [:lower:] | tr ' ' '-' | tr -dc '[:alnum:]-'"
 
     # Markdown location. Trying to autodetect by default.
     # The invocation must support the signature 'markdown_bin in.md > out.html'
-- 
cgit v1.2.3