Utf8 convert

This commit is contained in:
2023-01-10 18:29:32 +02:00
parent 71b759232c
commit 90b9c8325e
3572 changed files with 35191 additions and 395614 deletions
+6 -6
View File
@@ -1,20 +1,20 @@
<?
setlocale(LC_CTYPE ,"ru_RU.CP1251");
if(isset($_GET['test'])) {
echo 'Òåñò 5<br>'.$_GET['test'].'<br>'.$_POST['test_post'].'';
echo 'Тест 5<br>'.$_GET['test'].'<br>'.$_POST['test_post'].'';
die();
}
echo 'Òåñò 1<br>';
echo 'Тест 1<br>';
?>
<script src="https://new-combats.com/js/jquery.js" type="text/javascript"></script>
<script>
function test() {
$('#test_side').html( 'Òåñò 3' );
$.post('/ajax.php?test=Òåñò 6&',{'test_post':'Òåñò7'},function(data){ $('#test_block').html( data ); });
$('#test_side').html( 'Тест 3' );
$.post('/ajax.php?test=Тест 6&',{'test_post':'Тест7'},function(data){ $('#test_block').html( data ); });
}
</script>
Òåñò 2<br>
Тест 2<br>
<div id="test_side"></div>
<div id="test_block"></div>
<br><br>
<a href="javascript:test();">Ïðîòåñòèðîâàòü çàïðîñ</a>
<a href="javascript:test();">Протестировать запрос</a>