TiddlyWiki / TiddlyFox

An extension for older versions of Mozilla Firefox to enable TiddlyWiki to save changes
52 stars 24 forks source link

TiddlyFox does not support unicode file names #38

Open megafanat opened 8 years ago

megafanat commented 8 years ago

If file path contains characters with codes more than 255 TiddlyFox shows message box with error and does not save file. OS: Windows 8.1 Browser: Firefox 43.0.4 Message box

megafanat commented 8 years ago

How to reproduce:

megafanat commented 8 years ago

How to fix: File tiddlyfox.js, line 23 var pathname = document.location.toString().split("#")[0]; Change this line to: var pathname = decodeURI(document.location.toString().split("#")[0]);

URI from document location is encoded and you should decode it before using as file name.