diff --git a/openlp/plugins/songs/lib/songbeamerimport.py b/openlp/plugins/songs/lib/songbeamerimport.py index 5a8ee9ca8..861ec2e99 100644 --- a/openlp/plugins/songs/lib/songbeamerimport.py +++ b/openlp/plugins/songs/lib/songbeamerimport.py @@ -92,7 +92,7 @@ class SongBeamerImport(SongImport): file_name = os.path.split(file)[1] if os.path.isfile(file): detect_file = open(file, u'r') - details = chardet.detect(detect_file.read(2048)) + details = chardet.detect(detect_file.read()) detect_file.close() infile = codecs.open(file, u'r', details['encoding']) songData = infile.readlines()