0

I have installed TideSDK 1.3.1 beta, i have a simple php file:

<?php
header("Content-type: text/plain;charset=utf-8");
?>
<html>
<head>
<meta charset=utf-8>
<title>TideSDK</title>
</head>
<body>
<?php
echo "¡aló";
?>
</body>
</html>

but output is:

<html>
<head>
<meta charset=utf-8>
<title>TideSDK</title>
</head>
<body>
¡aló</body>
</htm

what happen to </html> at the end of output.

if i change code to echo "¡aló ¡aló";, last line of output change to </h.

if i copy code to apache server,output is correct.

is there any mistake in my code, or this is a bug?

user1903750
  • 339
  • 1
  • 5
  • 11

1 Answers1

3

Your PHP file was "ANSI as UTF8" encoded, which seemed to cause the problem. After I fixed the file encoding and converted it to UTF8 (i used Notepad++ for this task, which has a easy function for that), it worked fine.

Find the fixed files here: http://d.pr/f/UksA

Christian Engel
  • 3,738
  • 5
  • 28
  • 44
  • http://www.mediafire.com/?d6coaobwcmackmt this is my php file converted to utf-8 via notepad++. bottom of notepad++ page shows utf-8 instead of ansi as utf-8 but problem remains. can u please test this? output is incorrect, – user1903750 Dec 14 '12 at 22:59
  • another thing is : your uploaded code works but it differs with my code – user1903750 Dec 14 '12 at 23:08