]> git.scottworley.com Git - voter/blobdiff - src/main.rs
DOCTYPE and charset
[voter] / src / main.rs
index a1ec8bc6cec3a6f60035d2a0df413c7ff8d04a12..4c09c105e769a22618eb162d752088ac5d877b0f 100644 (file)
@@ -75,9 +75,10 @@ fn set_cookie(mut response: cgi::Response, path: &str) -> Result<cgi::Response,
     Ok(response)
 }
 
-const HTML_HEADER: &str = "
+const HTML_HEADER: &str = "<!DOCTYPE html>
 <html>
   <head>
+    <meta charset=\"utf-8\">
     <title>Vote!</title>
     <style>
       input { transform: scale(1.5); }