开发者

Encoding problem with php short of retyping evertin by hand how can I fix it

I have tried to fix this myself and I just keep on making it worse. It was stupid but I played a little with the encoding and now I am getting

Parse error: syntax error, unexpected T_STRING on line 1

First It double spaced everything which was annoying But I could live with it. Now if I copy the text into micro开发者_开发知识库soft notepad I loose all cariage returns.

I take it in the end I want to be in utf-8. Is there way to do this without retyping.

I am using windows and a shared host. As a side note I have generated several thousand lines of code.

I should mention i have been using netbeans.

Any Help would be appreciated


Hm. you said that you've played with encoding? Well, this is my blind guess...

So, you've got this error:

Parse error: syntax error, unexpected T_STRING on line 1

Do you have something like this (line 1) ???

<?xml version="1.0" encoding="UTF-8"?>

if you have, be sure that encoding value is lowercase like utf-8 not UTF-8.

<?xml version="1.0" encoding="utf-8" ?>

or try removing this line.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜