dpradov / keynote-nf

Tabbed notebook with RichText editor, multi-level notes and strong encryption.
Mozilla Public License 2.0
241 stars 56 forks source link

Import. Problems with some files. #692

Closed mpaulinelli closed 1 month ago

mpaulinelli commented 1 month ago

teste.zip Import. Problems with some files. When I import these 5 files (zip attachment), save the knf and open it again, only the first file appears and even with some strange characters. What would be wrong? Could it be a problem with Keinote or the files? If the problem is with the files, why doesn't Keinote give an error message?

dpradov commented 1 month ago

Hello @mpaulinelli In principle I notice that you are using UTF16 as the encoding of the files. It is not common and is not a format that KeyNote supports. At least I've never tried it. It is true that it lets you add it and then after saving it it does strange things. I also see that if they are imported as folders it does fine, but not if they are imported as content or as notes. The format KeyNote expects is ANSI or UTF8 (with or without BOM). But even in this last case (UTF8) I have to check it, because I am also observing something strange with the import of UTF8 in some cases.

dpradov commented 1 month ago

I'm trying to import those files, although for now in UTF8, and I see that it also causes problems with previous versions of the application. It is not something specific to this latest version. Of course, I'll correct it.