Skip to content

Commit

Permalink
Unicode HTML Text Test
Browse files Browse the repository at this point in the history
- Adding some Unicode text in HTML files (serve_a_foler example)
  • Loading branch information
hassandraga committed Sep 2, 2023
1 parent 697fdae commit de21160
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 8 deletions.
7 changes: 6 additions & 1 deletion examples/C/serve_a_folder/Linux/Clang/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ <h4><a href="second.html">Second Page As A Simple Link (Local file)</a></h4>
<br>
<h4><a href="test.txt">Static file example (Embedded)</a></h4>
<h4><a href="dynamic.html">Dynamic file example (Embedded)</a></h4>
<br>
<p>
Unicode Test:<br><br>
مرحبًا<br> <!-- Arabic -->
你好<br> <!-- Chinese -->
こんにちは <!-- Japanese -->
</p>
</body>

<!-- Connect this window to the background app -->
Expand Down
7 changes: 6 additions & 1 deletion examples/C/serve_a_folder/Linux/GCC/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ <h4><a href="second.html">Second Page As A Simple Link (Local file)</a></h4>
<br>
<h4><a href="test.txt">Static file example (Embedded)</a></h4>
<h4><a href="dynamic.html">Dynamic file example (Embedded)</a></h4>
<br>
<p>
Unicode Test:<br><br>
مرحبًا<br> <!-- Arabic -->
你好<br> <!-- Chinese -->
こんにちは <!-- Japanese -->
</p>
</body>

<!-- Connect this window to the background app -->
Expand Down
7 changes: 6 additions & 1 deletion examples/C/serve_a_folder/Windows/GCC/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ <h4><a href="second.html">Second Page As A Simple Link (Local file)</a></h4>
<br>
<h4><a href="test.txt">Static file example (Embedded)</a></h4>
<h4><a href="dynamic.html">Dynamic file example (Embedded)</a></h4>
<br>
<p>
Unicode Test:<br><br>
مرحبًا<br> <!-- Arabic -->
你好<br> <!-- Chinese -->
こんにちは <!-- Japanese -->
</p>
</body>

<!-- Connect this window to the background app -->
Expand Down
7 changes: 6 additions & 1 deletion examples/C/serve_a_folder/Windows/MSVC/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ <h4><a href="second.html">Second Page As A Simple Link (Local file)</a></h4>
<br>
<h4><a href="test.txt">Static file example (Embedded)</a></h4>
<h4><a href="dynamic.html">Dynamic file example (Embedded)</a></h4>
<br>
<p>
Unicode Test:<br><br>
مرحبًا<br> <!-- Arabic -->
你好<br> <!-- Chinese -->
こんにちは <!-- Japanese -->
</p>
</body>

<!-- Connect this window to the background app -->
Expand Down
7 changes: 6 additions & 1 deletion examples/C/serve_a_folder/Windows/TCC/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ <h4><a href="second.html">Second Page As A Simple Link (Local file)</a></h4>
<br>
<h4><a href="test.txt">Static file example (Embedded)</a></h4>
<h4><a href="dynamic.html">Dynamic file example (Embedded)</a></h4>
<br>
<p>
Unicode Test:<br><br>
مرحبًا<br> <!-- Arabic -->
你好<br> <!-- Chinese -->
こんにちは <!-- Japanese -->
</p>
</body>

<!-- Connect this window to the background app -->
Expand Down
7 changes: 6 additions & 1 deletion examples/C/serve_a_folder/macOS/Clang/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ <h4><a href="second.html">Second Page As A Simple Link (Local file)</a></h4>
<br>
<h4><a href="test.txt">Static file example (Embedded)</a></h4>
<h4><a href="dynamic.html">Dynamic file example (Embedded)</a></h4>
<br>
<p>
Unicode Test:<br><br>
مرحبًا<br> <!-- Arabic -->
你好<br> <!-- Chinese -->
こんにちは <!-- Japanese -->
</p>
</body>

<!-- Connect this window to the background app -->
Expand Down
4 changes: 2 additions & 2 deletions examples/C/serve_a_folder/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,10 @@ int main() {
webui_set_file_handler(MyWindow, my_files_handler);

// Set window size
webui_set_size(MyWindow, 800, 600);
webui_set_size(MyWindow, 800, 800);

// Set window position
webui_set_position(MyWindow, 100, 100);
webui_set_position(MyWindow, 200, 200);

// Show a new window
// webui_set_root_folder(MyWindow, "_MY_PATH_HERE_");
Expand Down

0 comments on commit de21160

Please sign in to comment.