From b519493f4973fae3e73388a141f7e33b83f1dab6 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sun, 16 Jun 2024 12:51:53 +0300 Subject: [PATCH] Fix(reindex_blog.py): Fix encoding --- reindex_blog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reindex_blog.py b/reindex_blog.py index 4a77fbf..b0e6122 100755 --- a/reindex_blog.py +++ b/reindex_blog.py @@ -102,7 +102,7 @@ months_names_ru0 = [ def encode_tag(tag): - return quote(tag.replace(' ', '_')) + return quote(tag.replace(' ', '_'), encoding='koi8-r') def write_template(level, year, month, day, titles, tags=None): -- 2.39.5