php 的编码问题,无法手动重新输入evertin,我该如何修复它
我已经尝试自己解决这个问题,但我只是继续让情况变得更糟。这很愚蠢,但我玩了一点编码,现在我收到
解析错误:语法错误,意外的 T_STRING 在第 1 行,
首先它将所有内容加倍,这很烦人,但我可以忍受它。现在,如果我将文本复制到微软记事本中,我就会丢失所有回车符。
我最终认为我想使用utf-8。有没有办法在不重新输入的情况下做到这一点。
我正在使用 Windows 和共享主机。作为旁注,我生成了数千行代码。
我应该提到我一直在使用netbeans。
任何帮助将不胜感激
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 microsoft 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯。你说你玩过编码?好吧,这是我的盲目猜测......
所以,你有这个错误:
你有类似的东西吗(第 1 行)???
如果有,请确保编码值是小写的,例如
utf-8
而不是UTF-8
。或者尝试删除这一行。
Hm. you said that you've played with encoding? Well, this is my blind guess...
So, you've got this error:
Do you have something like this (line 1) ???
if you have, be sure that encoding value is lowercase like
utf-8
notUTF-8
.or try removing this line.