Good day. In WordPress, I am trying to display a separate activation page and display it with fancybox using wp_login_form(); . But I fall on the inconsistency of encodings, in fact, here's the code:
<div> <?php $args = array( 'echo' => true, 'redirect' => home_url(), 'form_id' => 'loginform', 'label_username' => __( 'Username' ), 'label_password' => __( 'Password' ), 'label_remember' => __( 'Remember Me' ), 'label_log_in' => __( 'Log In' ), 'id_username' => 'user_login', 'id_password' => 'user_pass', 'id_remember' => 'rememberme', 'id_submit' => 'wp-submit', 'remember' => true, 'value_username' => NULL, 'value_remember' => true ); wp_login_form( $args );?> <p> <a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">Забыли пароль?</a></br> <a href="<?php echo get_option('home'); ?>//wp-login.php?action=register">Зарегистрироваться</a> </p> </div> But what is written by me here, namely:
<a href="<?php echo get_option('home'); ?>/wp-login.php?action=lostpassword">Забыли пароль?</a></br> and
<a href="<?php echo get_option('home'); ?>//wp-login.php?action=register">Зарегистрироваться</a> displayed normally. But the fact that wordpress is automatically generated in the form is displayed as not recognized Unicode.
Here is the actual picture:

Can anyone explain to me why? All documents are utf-8 encoded without a BOM.
<meta charset="utf-8">in<head>or directly give the headerContent-Type: text/html; charset=utf-8Content-Type: text/html; charset=utf-8. - etki