Jump to content
php.lv forumi

Recommended Posts

Posted

hi.. atkal traucēju ;) ..

 

Vopš vaig LV Val.. bet kārtējo reizi UTF-8 nestrādā.. es vienmēr izmantoju

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Language" content="lv">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
</html>

bet nesanāk.. :(

ko lai izmēģina?

Posted (edited)
Visticamāk, ka pats fails nav saglabāts kā UTF-8.

Saglabāts ir kā index.php

 

<?php
include("fails/...php");
include("fails/..2.php");
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Language" content="lv">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href... rel="stylesheet" type="text/css">
<?php include("fails/head.php"); ?>
</head>
<body>
html html html html
<?php some php too ?>
html html html
<?php $some php again... ?>
html html
</body>
</html>

.. ?

Edited by Mikijs
Posted (edited)

A tu ,piemeram, kad atver scriptu notepada tev vins tiek saglabats ka UTF-8???Ar to ieteiktu sakt!!!

Tur ir tada iespeja ka Language nomaina!!!

Edited by phpjanis
×
×
  • Create New...