It's not being told which encoding to decode from, so it presumes ascii.
Even if we don't use chardet, we should at least ask it to decode from
UTF-8.

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/1742390

Title:
  CSV bible import fails UnicodeDecodeError: '

Status in OpenLP:
  New

Bug description:
  Traceback (most recent call last):
    File "openlp\core\ui\wizard.py", line 216, in on_current_id_changed
    File "openlp\plugins\bibles\forms\bibleimportform.py", line 632, in 
perform_wizard
    File "openlp\plugins\bibles\lib\csvbible.py", line 98, in do_import
    File "C:\Python34-32\lib\encodings\ascii.py", line 26, in decode
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1401: 
ordinal not in range(128)

  Win 10, OLP 2.4.6, was trying to test this:
  https://bugs.launchpad.net/openlp/+bug/1624850

  but the importer crashed, not sure if the same files were used...

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1742390/+subscriptions

_______________________________________________
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