diff --git a/CHANGELOG.md b/CHANGELOG.md index 2a80b3618..04965cfb5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/CotEditor/Sources/StatusBarController.swift b/CotEditor/Sources/StatusBarController.swift index 1406b87a6..c83780f25 100644 --- a/CotEditor/Sources/StatusBarController.swift +++ b/CotEditor/Sources/StatusBarController.swift @@ -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)