[MediaWiki-commits] [Gerrit] analytics...WDCM[master]: fix Labels to UTF-8
GoranSMilovanovic has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/385809 ) Change subject: fix Labels to UTF-8 .. fix Labels to UTF-8 Change-Id: Ib59933f7be1658039dc3aaf21c3ab289982958f0 --- M WDCM_OverviewDashboard/server.R M WDCM_UsageDashboard/server.R 2 files changed, 10 insertions(+), 0 deletions(-) Approvals: GoranSMilovanovic: Verified; Looks good to me, approved diff --git a/WDCM_OverviewDashboard/server.R b/WDCM_OverviewDashboard/server.R index 21afbfe..b66201b 100644 --- a/WDCM_OverviewDashboard/server.R +++ b/WDCM_OverviewDashboard/server.R @@ -59,6 +59,11 @@ dbClearResult(res) colnames(st) <- "tables" +### --- SET CHARACTER SET utf8 +q <- "SET CHARACTER SET utf8;" +res <- dbSendQuery(con, q) +dbClearResult(res) + ### --- fetch wdcm2_project q <- "SELECT * FROM wdcm2_project;" res <- dbSendQuery(con, q) diff --git a/WDCM_UsageDashboard/server.R b/WDCM_UsageDashboard/server.R index be1df87..db927a5 100644 --- a/WDCM_UsageDashboard/server.R +++ b/WDCM_UsageDashboard/server.R @@ -52,6 +52,11 @@ dbClearResult(res) colnames(st) <- "tables" +### --- SET CHARACTER SET utf8 +q <- "SET CHARACTER SET utf8;" +res <- dbSendQuery(con, q) +dbClearResult(res) + ### --- fetch wdcm2_project q <- "SELECT * FROM wdcm2_project;" res <- dbSendQuery(con, q) -- To view, visit https://gerrit.wikimedia.org/r/385809 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib59933f7be1658039dc3aaf21c3ab289982958f0 Gerrit-PatchSet: 1 Gerrit-Project: analytics/wmde/WDCM Gerrit-Branch: master Gerrit-Owner: GoranSMilovanovicGerrit-Reviewer: GoranSMilovanovic ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] analytics...WDCM[master]: fix Labels to UTF-8
GoranSMilovanovic has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/385809 ) Change subject: fix Labels to UTF-8 .. fix Labels to UTF-8 Change-Id: Ib59933f7be1658039dc3aaf21c3ab289982958f0 --- M WDCM_OverviewDashboard/server.R M WDCM_UsageDashboard/server.R 2 files changed, 10 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/analytics/wmde/WDCM refs/changes/09/385809/1 diff --git a/WDCM_OverviewDashboard/server.R b/WDCM_OverviewDashboard/server.R index 21afbfe..b66201b 100644 --- a/WDCM_OverviewDashboard/server.R +++ b/WDCM_OverviewDashboard/server.R @@ -59,6 +59,11 @@ dbClearResult(res) colnames(st) <- "tables" +### --- SET CHARACTER SET utf8 +q <- "SET CHARACTER SET utf8;" +res <- dbSendQuery(con, q) +dbClearResult(res) + ### --- fetch wdcm2_project q <- "SELECT * FROM wdcm2_project;" res <- dbSendQuery(con, q) diff --git a/WDCM_UsageDashboard/server.R b/WDCM_UsageDashboard/server.R index be1df87..db927a5 100644 --- a/WDCM_UsageDashboard/server.R +++ b/WDCM_UsageDashboard/server.R @@ -52,6 +52,11 @@ dbClearResult(res) colnames(st) <- "tables" +### --- SET CHARACTER SET utf8 +q <- "SET CHARACTER SET utf8;" +res <- dbSendQuery(con, q) +dbClearResult(res) + ### --- fetch wdcm2_project q <- "SELECT * FROM wdcm2_project;" res <- dbSendQuery(con, q) -- To view, visit https://gerrit.wikimedia.org/r/385809 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib59933f7be1658039dc3aaf21c3ab289982958f0 Gerrit-PatchSet: 1 Gerrit-Project: analytics/wmde/WDCM Gerrit-Branch: master Gerrit-Owner: GoranSMilovanovic___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits