On Tue, Sep 21, 2010 at 3:12 PM, Alessandro Magni <ma...@inrim.it> wrote:
> After a bit of python-learning, I wrote my script.
> It nicely crawls a given subtree, and generates all the Zim-files in a
> common directory. Each file has the correct syntax (see example appended),
> with links to children&parents.
> I've still a point I dont understand concerning the ability of Zim to
> recognize my structure:
> 1) if I start zim by itself, it gives me this warning on the command line:
> "WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8
> and a warning box with "Upgrade Notebook? This notebook was created by an
> older of version of zim...."
> 2) if I do as you suggest, zim --index . , I got 2 warnings on the command
> line: "WARNING: Filesystem encoding is set to ASCII or Latin1, using UTF-8
> instead\nWARNING: This notebook needs to be upgraded to the latest data
> format", and when I start zim I have however the Upgrade Notebook? warning
> So, I do not see the point of doing zim --index .
> Also, what'sup with the encoding? They are plain text files, as you can see,
> $> cat campostela.txt
> Content-Type: text/x-zim-wiki
> Wiki-Format: zim 0.4
> Creation-Date: 2010-09-21T15:11:44.575864
Warning for file system encoding should be no issue. It just means
that when you save page names with unicode characters in them they
will be encoded as utf-8 in the file name. Reason is that often
default locale is set to ascii, while filesystem is perfectly capable
of handling utf-8.
Notebook upgrade is triggered based on the properties in the
"notebook.zim" file in the notebook folder. It should say
"version=0.4" to flag we did this upgrade before. Apparently somehow
this file is not updated correctly in your case.
Mailing list: https://launchpad.net/~zim-wiki
Post to : firstname.lastname@example.org
Unsubscribe : https://launchpad.net/~zim-wiki
More help : https://help.launchpad.net/ListHelp