kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject [2/2] kudu git commit: Make UTF-8 characters display correctly in the web ui
Date Wed, 03 Aug 2016 22:38:23 GMT
Make UTF-8 characters display correctly in the web ui

Some valid UTF-8 characters don't display correctly on the web ui,
like F09F8CAE (taco emoji). This adds the proper meta element to
the <head> so they display correctly.

Change-Id: I872c84a93d22f1cabce4534eccc917df99079414
Reviewed-on: http://gerrit.cloudera.org:8080/3830
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <todd@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/ec39756e
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/ec39756e
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/ec39756e

Branch: refs/heads/master
Commit: ec39756ef6f6cd25e15a9816d8bce631cb577c1c
Parents: fda036c
Author: Will Berkeley <wdberkeley@gmail.com>
Authored: Mon Aug 1 21:46:47 2016 -0700
Committer: Todd Lipcon <todd@apache.org>
Committed: Wed Aug 3 22:37:05 2016 +0000

----------------------------------------------------------------------
 src/kudu/server/webserver.cc | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/ec39756e/src/kudu/server/webserver.cc
----------------------------------------------------------------------
diff --git a/src/kudu/server/webserver.cc b/src/kudu/server/webserver.cc
index 858e485..1121ccb 100644
--- a/src/kudu/server/webserver.cc
+++ b/src/kudu/server/webserver.cc
@@ -378,6 +378,7 @@ void Webserver::RegisterPathHandler(const string& path, const string&
alias,
 const char* const PAGE_HEADER = "<!DOCTYPE html>"
 " <html>"
 "   <head><title>Kudu</title>"
+" <meta charset='utf-8'/>"
 " <link href='/bootstrap/css/bootstrap.min.css' rel='stylesheet' media='screen' />"
 " <link href='/kudu.css' rel='stylesheet' />"
 " </head>"


Mime
View raw message