View Single Post
Old 10-20-2023, 02:59 AM   #21
jugaor
Enthusiast
jugaor began at the beginning.
 
jugaor's Avatar
 
Posts: 33
Karma: 10
Join Date: Jun 2011
Location: Lima, Peru
Device: Kindle 10Gen / Kobo Aura HD / Nook STR
Hi. Sorry for not being clearer earlier (English is not my native language).

Quote:
Originally Posted by DiapDealer View Post
Clips and saved searches can be exported/imported. I believe the user is looking for a way to export from Qt6 Sigil in a way that can be imported into Qt5 Sigil. I could be mistaken though.
Exactly this.
Sigil QT5 exports an .ini file (ANSI/escaped) > Sigil QT6 imports it:
No problems.

Sigil QT6 exports an .ini file (UTF-8) > Sigil QT5 imports it:
Special characters end up scrambled.

Quote:
Originally Posted by DiapDealer View Post
For the record: I'm not really sold on it (export to Qt5 sigil) being a feature we need to incorporate into Sigil. I just wanted to make sure I wasn't going crazy! Those that can update to the latest Sigil--should (in my opinion). And I'm not nuts about adding a feature to the latest Sigil just to make it possible to export clips and saved searches for use with the unsupported Windows 7 versions of Sigil.
Please reconsider. It's necessary in a multi-collaborator environment: some people have old, non-upgradable equipment

We tried to solve it but the online converters we found are somewhat limited:
For example, the Spanish word "añadir" used to be stored in QT5 as "a\xf1\x61\x64ir". Online converters just change it to "a\u00f1adir". "\u00"/"\u" could easily be changed to "\x"… but when importing QT5 doesn't know where the unicode chars end and imports them all wrong.

Quote:
Originally Posted by DiapDealer View Post
Perhaps an external tool/script to downgrade a Qt6 INI?
... as a part of the Sigil package?
Fair enough!


Thank you very much for your answers!
jugaor is offline   Reply With Quote