The problem is not something new. Namely, while generating a static html 
filename from TW5 having cyrillic titles in a result one can sort of this:

   - 
   
http://127.0.0.1:8080/#%D0%9F%D0%BE%D1%81%D1%96%D0%B1%D0%BD%D0%B8%D0%BA%20%D0%BA%D0%BE%D1%80%D0%B8%D1%81%D1%82%D1%83%D0%B2%D0%B0%D1%87%D0%B0%20%D0%A2%D1%96%D0%B4%D0%BB%D1%96%D0%B2%D1%96%D0%BA%D1%96:%5B%5B%D0%9F%D0%BE%D1%81%D1%96%D0%B1%D0%BD%D0%B8%D0%BA%20%D0%BA%D0%BE%D1%80%D0%B8%D1%81%D1%82%D1%83%D0%B2%D0%B0%D1%87%D0%B0%20%D0%A2%D1%96%D0%B4%D0%BB%D1%96%D0%B2%D1%96%D0%BA%D1%96%5D%5D/
   
A single cyrillic letter is encoded to 6 (!) ASCII signs. Bearing in mind a 
typical path name length of 30-40 signs and limitation of many OS on 
filename length of say 255, one obtains the title length limit 
approximately around 35, which can be annoying.

The point is when during static html generation the full path-and-filename 
length exceeds 255 the process accidently stops with error message sort of 
"Too long filename".

I would be great to have a possibility of altering (sort of a checkbox in 
Settings) a static html filename encoding method in order to shorten 
filename length. It might be transliteration method, which, by the way, is 
used in generating ".tid" filenames under Node.js. Or at least altering a 
static html filename encoding method in JS source code.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/2bd639e4-56a7-4ffd-b273-840f8befb638%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to