UnicodeDecodeError: 'utf8' codec can't decode byte 0x97 in position 49: unexpected code byte

Bug #1454030 reported by Andrew Ziem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BleachBit
Fix Released
High
Andrew Ziem

Bug Description

Windows 7
BleachBit 1.7.6

getsize(C:\Users\username\Local Settings\Temp\Week_1_-_Ephesians—Discovering_Who_We_Are-1.doc)
Traceback (most recent call last):
  File "bleachbit\Worker.pyo", line 82, in execute
  File "bleachbit\Command.pyo", line 74, in execute
  File "bleachbit\FileUtilities.pyo", line 361, in getsize
UnicodeDecodeError: 'utf8' codec can't decode byte 0x97 in position 49: unexpected code byte

Andrew Ziem (ahziem1)
description: updated
Revision history for this message
Andrew Ziem (ahziem1) wrote :

Reproduced on Windows XP. The issue seems to be the em-dash (—).

Revision history for this message
Andrew Ziem (ahziem1) wrote :

Fixed 869f165

Changed in bleachbit:
status: Triaged → Fix Committed
Andrew Ziem (ahziem1)
Changed in bleachbit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.