Merge lp:~evfool/scratch/lp1100193 into lp:~elementary-apps/scratch/scratch
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Cody Garver | ||||
Approved revision: | 1328 | ||||
Merged at revision: | 1329 | ||||
Proposed branch: | lp:~evfool/scratch/lp1100193 | ||||
Merge into: | lp:~elementary-apps/scratch/scratch | ||||
Diff against target: |
115 lines (+24/-20) 3 files modified
plugins/folder-manager/FileView.vala (+20/-16) plugins/folder-manager/FolderManagerPlugin.vala (+2/-2) src/Services/Encoding.vala (+2/-2) |
||||
To merge this branch: | bzr merge lp:~evfool/scratch/lp1100193 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
elementary Apps team | Pending | ||
Review via email: mp+226950@code.launchpad.net |
Commit message
* Use fallback charset in case chardet.py fails
* Change fallback charset to ISO-8859-1, in case encoding could not be detected. UTF-n encoding can usually be detected from the first byte
(based on the docs of chardet [1])
[1] http://
Description of the change
This branch includes the following changes:
* uses fallback charset in case chardet.py fails
* changes fallback charset to ISO-8859-1, in case encoding could not be detected. This might be controversial, but as UTF-n encoding can usually be detected from the first byte
(based on the docs of chardet [1]) this won't affect UTF-n encoded files, as it's unlikely for a file whose encoding could not be detected to be UTF-n
[1] http://