From 36351160491243415aa85b96f3a1ff064ee978c4 Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Mon, 31 Dec 2018 02:49:24 -0500 Subject: [PATCH] cscore: set charset of displayed pages (#1520) All of our strings are UTF-8, but the default charset for HTML<5 was ISO-8859-1 --- cscore/src/main/native/cpp/MjpegServerImpl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cscore/src/main/native/cpp/MjpegServerImpl.cpp b/cscore/src/main/native/cpp/MjpegServerImpl.cpp index cc0531033a..b88b8b444e 100644 --- a/cscore/src/main/native/cpp/MjpegServerImpl.cpp +++ b/cscore/src/main/native/cpp/MjpegServerImpl.cpp @@ -335,7 +335,8 @@ bool MjpegServerImpl::ConnThread::ProcessCommand(wpi::raw_ostream& os, void MjpegServerImpl::ConnThread::SendHTMLHeadTitle( wpi::raw_ostream& os) const { - os << "" << m_name << " CameraServer"; + os << "" << m_name << " CameraServer" + << ""; } // Send the root html file with controls for all the settable properties.