- 论坛徽章:
- 0
|
大家好,在FreeBSD下,想对一个php文件进行编辑,使用ee编辑器,结果出现了很多奇怪的符号,如下:
<?php^M
^M
/* geoipcity.inc^M
*^M
* Copyright (C) 2004 Maxmind LLC^M
*^M
* This library is free software; you can redistribute it and/or^M
* modify it under the terms of the GNU Lesser General Public^M
* License as published by the Free Software Foundation; either^M
* version 2.1 of the License, or (at your option) any later version.^M
*^M
* This library is distributed in the hope that it will be useful,^M
* but WITHOUT ANY WARRANTY; without even the implied warranty of^M
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU^M
* Lesser General Public License for more details.^M
*^M
* You should have received a copy of the GNU Lesser General Public^M
* License along with this library; if not, write to the Free Software^M
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA^M
*/^M
^M
/*^M
* Changelog:^M
* 2009-09-16 mike challis PHP 5.3 fix^M
* 2005-01-13 Andrew Hill, Awarez Ltd. (http://www.awarez.net)^M
* Formatted file according to PEAR library standards.^M
* Changed inclusion of geoip.inc file to require_once, so that^M
* this library can be used in the same script as geoip.inc.^M
*/^M
^M
可以看到,这里边有很多的^M这种东西,我可以确定的是,这东西不是代码里的,因为当我使用cat命令查看时,这些东西就消失了:
<?php
/* geoipcity.inc
*
* Copyright (C) 2004 Maxmind LLC
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Changelog:
* 2009-09-16 mike challis PHP 5.3 fix
* 2005-01-13 Andrew Hill, Awarez Ltd. (http://www.awarez.net)
* Formatted file according to PEAR library standards.
* Changed inclusion of geoip.inc file to require_once, so that
* this library can be used in the same script as geoip.inc.
*/
有哪位大神可帮忙解释一下吗?谢谢啦! |
|