自己的代码命名空间明明是第一行,为什么会有这种错误。
这可能就是BOM头的原因 。去掉BOM头就可以解决。
奉上链接 http://blog.youkuaiyun.com/ohmygirl/article/details/6931716 http://blog.sina.com.cn/s/blog_53729e460102wafl.html
自己的代码命名空间明明是第一行,为什么会有这种错误。
这可能就是BOM头的原因 。去掉BOM头就可以解决。
奉上链接 http://blog.youkuaiyun.com/ohmygirl/article/details/6931716 http://blog.sina.com.cn/s/blog_53729e460102wafl.html