Display full encoding name in status bar

This commit is contained in:
1024jp 2017-12-04 00:02:23 +09:00
parent baf6dd2df7
commit dd72df2d84
2 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@ develop
- Add clear button to input fields in the find panel.
- Scroll console view after getting a new message to make it visible.
- Swap position of “Edit” and “Format” menu to conform to Apple's HIG.
- Display full encoding name in the status bar instead of the IANA charset name.
- Add tooltips to Unicode normalization forms in Text menu.
- Append “Option-Command-T” shortcut to “Show/Hide Toolbar” menu item.
- Restore the last viewed preference pane.

View File

@ -196,7 +196,7 @@ final class StatusBarController: NSViewController {
let status = NSMutableAttributedString()
if defaults[.showStatusBarEncoding] {
status.appendFormattedState(value: info.charsetName, label: nil)
status.appendFormattedState(value: info.encoding, label: nil)
}
if defaults[.showStatusBarLineEndings] {
status.appendFormattedState(value: info.lineEndings, label: nil)