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
@ -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…
x
Reference in New Issue
Block a user