Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix import of bookmarks. #12

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix import of bookmarks. #12

wants to merge 3 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Dec 31, 2012

Encoding was not set correctly (to UTF-8) because the data were not read via QTextStream.

Fixes: https://code.google.com/p/arora/issues/detail?id=688

and possibly https://code.google.com/p/arora/issues/detail?id=944

The second part fixes a crash caused by (among others): https://code.google.com/p/arora/issues/detail?id=570

and the third part fixes the issue completely, although it might be a subject to discussion (reasons given in the commit message).

Encoding was not set correctly (to UTF-8) because the data were not read via QTextStream.
This crash sometimes occured when a BookmarkNode was being deleted.
This way some malformed XBEL files may be imported without worries
(description would be ignored, title would be replaced with 'Unknown
title' text), which increases compatibility at the cost of ignoring
a part of the XBEL format standard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant