Adding HTML UTF8 Tag

- To allow Unicode test in the UI we should make sure `<meta charset="UTF-8">` is added to the HTML head tags
This commit is contained in:
Hassan DRAGA 2023-09-02 11:07:58 -04:00
parent d281258f72
commit 697fdae90e
26 changed files with 26 additions and 1 deletions

View File

@ -65,6 +65,7 @@ int main() {
const std::string my_html = R"V0G0N(
<html>
<head>
<meta charset="UTF-8">
<script src="webui.js"></script>
<title>Call C++ from JavaScript Example</title>

View File

@ -54,6 +54,7 @@ int main() {
const std::string my_html = R"V0G0N(
<html>
<head>
<meta charset="UTF-8">
<script src="webui.js"></script>
<title>Call JavaScript from C++ Example</title>

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C++)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C++)</title>
<style>
body {

View File

@ -76,6 +76,7 @@ int main() {
const char* my_html = "<!DOCTYPE html>"
"<html>"
" <head>"
" <meta charset=\"UTF-8\">"
" <script src=\"webui.js\"></script>"
" <title>Call C from JavaScript Example</title>"
" <style>"

View File

@ -42,6 +42,7 @@ int main() {
const char* my_html = "<!DOCTYPE html>"
"<html>"
" <head>"
" <meta charset=\"UTF-8\">"
" <script src=\"webui.js\"></script>"
" <title>Call JavaScript from C Example</title>"
" <style>"

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Serve a Folder Example (C99)</title>
<style>
body {

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WebUI - Second Page (C99)</title>
<style>
body {

View File

@ -1,9 +1,9 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<script src="webui.js"></script>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="img/icon.png" />
<title>Text Editor in C using WebUI</title>
<link rel="stylesheet" href="css/style.css">