Browse Source

Merge pull request #247 from arty-name/no-ensure-ascii

Allow unicode chars in tipuesearch_content.json
Kura 10 years ago
parent
commit
b4963c93af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tipue_search/tipue_search.py

+ 1 - 1
tipue_search/tipue_search.py

@@ -103,7 +103,7 @@ class Tipue_Search_JSON_Generator(object):
         root_node = {'pages': self.json_nodes}
         root_node = {'pages': self.json_nodes}
 
 
         with open(path, 'w', encoding='utf-8') as fd:
         with open(path, 'w', encoding='utf-8') as fd:
-            json.dump(root_node, fd, separators=(',', ':'))
+            json.dump(root_node, fd, separators=(',', ':'), ensure_ascii=False)
 
 
 
 
 def get_generators(generators):
 def get_generators(generators):