diff options
| author | yanminhui | 2019-11-16 04:10:37 +0100 |
|---|---|---|
| committer | Gerd Hoffmann | 2019-11-21 09:42:30 +0100 |
| commit | c55c974486b0dadf97fe47e2e789d5dba9b77138 (patch) | |
| tree | 31af688922aa51c865cd32a1691a4eebb6dc4b97 /ui | |
| parent | display: xlnx_dp: Provide sufficient bytes for silent audio channel (diff) | |
| download | qemu-c55c974486b0dadf97fe47e2e789d5dba9b77138.tar.gz qemu-c55c974486b0dadf97fe47e2e789d5dba9b77138.tar.xz qemu-c55c974486b0dadf97fe47e2e789d5dba9b77138.zip | |
ui/gtk: fix gettext message's charset.
Signed-off-by: yanminhui <yanminhui163@163.com>
Message-Id: <20191116031037.1207-1-yanminhui163@163.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
| -rw-r--r-- | ui/gtk.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2215,6 +2215,7 @@ static void gtk_display_init(DisplayState *ds, DisplayOptions *opts) setlocale(LC_MESSAGES, ""); setlocale(LC_CTYPE, "C.UTF-8"); bindtextdomain("qemu", CONFIG_QEMU_LOCALEDIR); + bind_textdomain_codeset("qemu", "UTF-8"); textdomain("qemu"); window_display = gtk_widget_get_display(s->window); |
