mirror of
https://github.com/webui-dev/webui.git
synced 2024-09-11 14:06:09 +03:00
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:
parent
d281258f72
commit
697fdae90e
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C++)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -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>"
|
||||
|
@ -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>"
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Serve a Folder Example (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>WebUI - Second Page (C99)</title>
|
||||
<style>
|
||||
body {
|
||||
|
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user