I guess the reason is, that chardet does not test the whole file, but just the 
leading xx bytes. In this case you can catch the exception and either ask 
chardet to analze the whole data (if possible) or ask the user (there should be 
such a dialog for the OLP1 importer). 
-- 
https://code.launchpad.net/~sam92/openlp/fix-songbeamer-import/+merge/187815
Your team OpenLP Core is requested to review the proposed merge of 
lp:~sam92/openlp/fix-songbeamer-import into lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to