Jump to content
php.lv forumi

Encode


Mikijs

Recommended Posts

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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

×
×
  • Create New...