From f81de6d9582f4905b9c2735d3c639b92d7e77994 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Fri, 12 May 2023 09:17:54 +0100 Subject: [PATCH] Explicitly set UTF-8 encoding for HTML in examples (Fixes #132) --- examples/gpio/gpio.html | 1 + examples/hello/hello.py | 1 + examples/hello/hello_asgi.py | 1 + examples/hello/hello_async.py | 1 + examples/hello/hello_wsgi.py | 1 + examples/sessions/login.py | 3 ++- examples/static/static/index.html | 1 + examples/streaming/video_stream.py | 1 + examples/streaming/video_stream_async.py | 1 + examples/templates/jinja/templates/index.html | 1 + examples/templates/utemplate/templates/index.html | 1 + examples/tls/hello_async_tls.py | 1 + examples/tls/hello_tls.py | 1 + examples/tls/index.html | 1 + examples/uploads/index.html | 1 + examples/websocket/index.html | 1 + 16 files changed, 17 insertions(+), 1 deletion(-) diff --git a/examples/gpio/gpio.html b/examples/gpio/gpio.html index 77a89ae..1d8f303 100644 --- a/examples/gpio/gpio.html +++ b/examples/gpio/gpio.html @@ -2,6 +2,7 @@ Microdot GPIO Example +