mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Set the world-map HTML charset to UTF-8
The exported HTML was missing the UTF-8 encoding, so non ascii characters weren't displayed correctly, This patch makes the exporter support all the unicode characters. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a6fcd4f99f
commit
d6af09b269
1 changed files with 1 additions and 0 deletions
|
@ -112,6 +112,7 @@ void insert_html_header(struct membuffer *b)
|
|||
{
|
||||
put_string(b, "<!DOCTYPE html>\n<html>\n<head>\n");
|
||||
put_string(b, "<meta name=\"viewport\" content=\"initial-scale=1.0, user-scalable=no\" />\n<title>World Map</title>\n");
|
||||
put_string(b, "<meta charset=\"UTF-8\">");
|
||||
}
|
||||
|
||||
void insert_css(struct membuffer *b)
|
||||
|
|
Loading…
Add table
Reference in a new issue