Update of /cvsroot/phpweather/phpweather
In directory usw-pr-cvs1:/tmp/cvs-serv15364
Modified Files:
index.php
Log Message:
More updates for XHTML. I'm not sure about that UTF-8 thing. As far as
I understand it, then UTF-8 covers both ISO-8859-1 and ISO-8859-2. So
if we specify that the charset is UTF-8, then we should be OK?
Index: index.php
===================================================================
RCS file: /cvsroot/phpweather/phpweather/index.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- index.php 27 Mar 2002 20:13:19 -0000 1.24
+++ index.php 27 Mar 2002 21:25:12 -0000 1.25
@@ -1,17 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"DTD/xhtml1-transitional.dtd">
<html>
<head>
+ <meta http-equiv="Content-type" content='text/html; charset="UTF-8"' />
<title>PHP Weather - test</title>
- <style type="text/css">
+ <style type="text/css">
<!--
BODY {
font-family: Verdana, Tahoma, Geneva, Arial, Helvetica, sans-serif;
font-size: 13px;
}
-->
- </style>
+ </style>
</head>
<body>
@@ -53,7 +55,7 @@
stations in that country. */
echo '
-<form action="index.php" method="get" />
+<form action="index.php" method="get">
<p>
<input type="hidden" name="action" value="show_weather" />
';
|