1
0

Always assume UTF-8.

This commit is contained in:
2022-02-20 17:14:54 +01:00
parent b1c43491c3
commit 4785f07f12
61 changed files with 110 additions and 278 deletions

View File

@ -2,7 +2,7 @@
<!--[if IE 8]> <html class="no-js lt-ie9" lang="{$lang}"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" dir="{$CONST.LANG_DIRECTION}" lang="{$lang}"> <!--<![endif]-->
<head>
<meta charset="{$CONST.LANG_CHARSET}">
<meta charset="utf-8">
{if !$admin_vars.backendBlogtitleFirst}
<title>{if $admin_vars.title}{$admin_vars.title} | {/if}{$blogTitle} | {$CONST.SERENDIPITY_ADMIN_SUITE}</title>
{else}
@ -195,4 +195,4 @@
{if $admin_vars.admin_installed}{serendipity_hookPlugin hook="backend_footer" hookAll="true"}{/if}
</body>
</html>
</html>

View File

@ -2,7 +2,7 @@
<!--[if IE 8]> <html class="no-js lt-ie9" lang="{$lang}"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{$lang}"> <!--<![endif]-->
<head>
<meta charset="{$CONST.LANG_CHARSET}">
<meta charset="utf-8">
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{serendipity_getFile file='admin/style.css'}">

View File

@ -2,7 +2,7 @@
<!--[if IE 8]> <html class="no-js lt-ie9" lang="{$lang}"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="{$lang}"> <!--<![endif]-->
<head>
<meta charset="{$CONST.LANG_CHARSET}">
<meta charset="utf-8">
<title>{if $admin_vars.title}{$admin_vars.title} | {/if}{$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="{$head_link_stylesheet}">
@ -175,4 +175,4 @@
{/if}
{/if}
</body>
</html>
</html>

View File

@ -272,7 +272,7 @@ function serendipity_plugin_api_pre_event_hook($event, &$bag, &$eventData, &$add
$entry_specific_header_image_key = 'entry_specific_header_image';
// Check what our special key is set to (checks both POST data as well as the actual data)
$is_entry_subtitle = (function_exists('serendipity_specialchars') ? serendipity_specialchars(entry_option_get_value($entry_subtitle_key, $eventData)) : htmlspecialchars(entry_option_get_value($entry_subtitle_key, $eventData), ENT_COMPAT, LANG_CHARSET));
$is_entry_subtitle = (function_exists('serendipity_specialchars') ? serendipity_specialchars(entry_option_get_value($entry_subtitle_key, $eventData)) : htmlspecialchars(entry_option_get_value($entry_subtitle_key, $eventData), ENT_COMPAT, 'UTF-8'));
$is_entry_specific_header_image = entry_option_get_value ($entry_specific_header_image_key, $eventData);
// This is the actual HTML output on the backend screen.

View File

@ -2,7 +2,7 @@
<head>
<!-- ADMIN-ENTRY TEMPLATE: index.tpl START -->
<title>{$admin_vars.title} - {$CONST.SERENDIPITY_ADMIN_SUITE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$CONST.LANG_CHARSET}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="{$admin_vars.css_file}" />
<link rel="stylesheet" type="text/css" href="{$admin_vars.admin_css_file}" />
<script src="{serendipity_getFile file='admin/header_spawn.js'}"></script>

View File

@ -1,7 +1,7 @@
<html>
<head>
<title>{$CONST.SERENDIPITY_ADMIN_SUITE}: {$CONST.SELECT_FILE}</title>
<meta http-equiv="Content-Type" content="text/html; charset={$CONST.LANG_CHARSET}" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
{if $media.css}<link rel="stylesheet" type="text/css" href="{$media.css}" />{/if}
{if $media.css_tree}<link rel="stylesheet" type="text/css" href="{$media.css_tree}" />{/if}
{if $media.css_imgedit}<link rel="stylesheet" type="text/css" href="{$media.css_imgedit}" />{/if}