且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Symfony2 Jobeet教程第3天错误映射无效

更新时间:2023-11-19 16:08:22

尝试在文本编辑器中打开文件,然后在全局范围内将"替换为".

Try opening the file in a text editor, and replacing " " with " " globally.

我的同事在同一文件上遇到了完全相同的问题,事实证明,问题是文件使用空格以外的其他东西作为空格. file(1)表明文件是UTF-8 Unicode文本,而不是纯ASCII.

My colleague was having the exact same issue on the same file, and it turns out the problem was that the file was using something other than spaces as spaces. file(1) showed that the file was a UTF-8 Unicode text rather than plain ASCII.

我相信这可能是由于复制+粘贴的来源使用了不同的空格字符引起的.

I believe this may be caused by the source of the copy + paste using different space characters.