Reputation: 5461
I try to implement the following code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="description" content="">
<meta name="keywords" content="">
<title>下载</title>
</head>
<body>
<img src="photo1.jpg" style="width:100px; float:left;height:100px;margin- bottom:20px;"><img src="photo2.jpg" style="float:left;margin- left:30px;width:100px;height:100px;"><img src="photo3.jpg" style="float:left;margin- left:30px;width:100px;height:100px;"><img src="photo4.jpg" style="float:left;margin- left:30px;width:100px;height:100px;">
<a href="watermark.php?src=photo1.jpg&download=true" style="clear:both;float:left;margin-left:10px;">下载 1</a><a href="watermark.php? src=photo2.jpg&download=true" style="float:left;margin-left:60px;">下载 2</a>
<a href="watermark.php?src=photo3.jpg&download=true" style="float:left;margin- left:55px;">下载 3</a><a href="watermark.php?src=photo4.jpg&download=true" style="float:left;margin-left:50px;">下载 4</a>
</body>
</html>
I did use
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
but in the webpage it still show the litte question marks like this ??
Upvotes: 2
Views: 6059
Reputation: 130145
make sure your FILE is encoded in Big5
, and not in ANSI or anything else.
you can do that with notepad++ under the encoding menu.
Upvotes: 3