1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 15:34:58 +00:00

WindowServer+LibGUI+FontEditor: Encode special characters as UTF-8

This commit is contained in:
Sergey Bugaev 2019-09-04 23:50:40 +03:00 committed by Andreas Kling
parent 84bc6a92a7
commit 22e6978c71
5 changed files with 17 additions and 7 deletions

View file

@ -341,9 +341,9 @@ void GTableView::paint_headers(Painter& painter)
builder.append(model()->column_name(column_index));
auto sort_order = model()->sort_order();
if (sort_order == GSortOrder::Ascending)
builder.append(" \xf6");
builder.append(" \xc3\xb6");
else if (sort_order == GSortOrder::Descending)
builder.append(" \xf7");
builder.append(" \xc3\xb7");
text = builder.to_string();
} else {
text = model()->column_name(column_index);