Commits

WAKAYAMA shirou committed c11a8f7

can accept unicode string such as Project name as indextitle.

Comments (0)

Files changed (1)

src/dipus/dipusbuilder.py

             self.config.dipus_doc_url = "file:///{0}".format(html_dir)
         if self.config.dipus_index is None:
             # if dipus_index is not set, use project name
-            self.config.dipus_index = urllib.quote(self.config.project)
+            p_name = self.config.project.encode('utf-8')
+            self.config.dipus_index = urllib.quote(p_name)
 
         self.output_templates(self.config.dipus_server_url,
                               self.config.dipus_index)