Hi, thanks both of you for looking into this (even going so far as
installing Autokey - that's dedication!)

not sure where we're at now with this, but here's the file and a
screenshot of the original and what it looks like in the TW:

http://dl.dropbox.com/u/2161814/10%2009%2015%20centurion
http://dl.dropbox.com/u/2161814/filedrop%20example.png

On Oct 19, 11:43 am, Eric Shulman <[email protected]> wrote:
> > > it *seems* the issue is reading and interpreting the file - i.e. with
> > > FileDropPlugin somewhere.
>
> > I've just confirmed this by creating a file with some Unicode characters
> > in Vim, taking Autokey out of the equation (should've done this from the
> > start, sigh).
>
> FileDropPlugin uses the *core* loadFile() function to read the content
>
> Here's the relevant section of code from the plugin:
> ----------------------
> var txt=''; var fmt=co.txtFileDropLinkFormat.unescapeLineBreaks();
> if (co.chkFileDropLink) txt
> +=fmt.format([name,url,path,relpath,size,when,now,who]);
> if (co.chkFileDropContent) {
>         var out=loadFile(path); var lim=co.txtFileDropDataLimit;
>         txt+=co.txtFileDropDataLimit?out.substr(0,lim):out;
>         if (size>lim) txt+='\n----\nfilesize ('+size+')'
>                 +' is larger than FileDrop limit ('+lim+')...\n'
>                 +'additional content has been omitted';}
>
> store.saveTiddler(null,title,txt,co.txtUserName,now,newtags);
> ------------------------
>
> As you can see, there's nothing particularly special about the way the
> plugin reads the file content and writes it to a tiddler.  This
> *suggests* that this might be a core problem with file I/O  (uh oh!)
>
> -e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to