@ sam92: The first open() call opens the file already in ascii mode with the 
systems standard encoding. Therefore chardet makes no sense as it does not get 
the raw data.
This open() call crashes even before chardet is doing anything because the 
encoding is wrong. Accessing the file in byte mode at the first time fixes this 
implementation bug.
-- 
https://code.launchpad.net/~sam92/openlp/fix-songbeamer-import/+merge/187839
Your team OpenLP Core is subscribed to branch lp:openlp.

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : openlp-core@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to