<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dominic.Xu&#039;s 博客 &#187; fckeditor</title>
	<atom:link href="http://xuplus.com/article/tag/fckeditor/feed" rel="self" type="application/rss+xml" />
	<link>http://xuplus.com</link>
	<description>Web 2.0 生活</description>
	<lastBuildDate>Wed, 24 Aug 2011 05:26:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Xoops中FCKeditor的上传文件时中文文件名解决方案</title>
		<link>http://xuplus.com/article/2007/04/a8.html</link>
		<comments>http://xuplus.com/article/2007/04/a8.html#comments</comments>
		<pubDate>Thu, 12 Apr 2007 10:22:43 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[XOOPS]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[fckeditor]]></category>
		<category><![CDATA[上传]]></category>
		<category><![CDATA[中文]]></category>

		<guid isPermaLink="false">http://xuplus.com/?p=8</guid>
		<description><![CDATA[使用FCKeditor上传图片、Flash等文件时，文件名中的中文会显示为乱码并在在服务器上面保存有些全部为乱码文件，不能正常显示，在网上搜了一下前辈们的解决方法，没找到很好的解决办法。看来还有N多的人和我一样的困惑，但解决办法又如此的简单： 将 editor\filemanager\browser\default\frmupload.html 文件的编码改为UTF-8即可。 如果不能解决则 编辑upload.php文件 // Compose the file path. //Modifyed By XuYong 修正UTF-8的问题 $sFileName =iconv(“utf-8&#8243;,”gbk”,$sFileName); //End Modifyed 环境XOOPS 2.0.16 UTF-8 标签： article, fckeditor, XOOPS, 上传, 中文]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 10pt">使用FCKeditor上传图片、Flash等文件时，文件名中的中文会显示为乱码并在在服务器上面保存有些全部为乱码文件，不能正常显示，在网上搜了一下前辈们的解决方法，没找到很好的解决办法。看来还有N多的人和我一样的困惑，但解决办法又如此的简单： </span></p>
<p><span style="font-size: 10pt">将 editor\filemanager\browser\default\frmupload.html 文件的编码改为UTF-8即可。 </span></p>
<p><span style="font-size: 10pt">如果不能解决则 </span></p>
<p><span style="font-size: 10pt">编辑upload.php文件 </span></p>
<p><span style="font-size: 10pt">// Compose the file path. </span></p>
<p><span style="font-size: 10pt">//Modifyed By XuYong 修正UTF-8的问题 </span></p>
<p><span style="font-size: 10pt">$sFileName =iconv(“utf-8&#8243;,”gbk”,$sFileName); </span></p>
<p><span style="font-size: 10pt">//End Modifyed </span></p>
<p><span style="font-size: 10pt"></span>环境XOOPS 2.0.16 UTF-8</p>

	标签： <a href="http://xuplus.com/article/tag/article" title="article" rel="tag">article</a>, <a href="http://xuplus.com/article/tag/fckeditor" title="fckeditor" rel="tag">fckeditor</a>, <a href="http://xuplus.com/article/tag/xoops" title="XOOPS" rel="tag">XOOPS</a>, <a href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0" title="上传" rel="tag">上传</a>, <a href="http://xuplus.com/article/tag/%e4%b8%ad%e6%96%87" title="中文" rel="tag">中文</a><br />
]]></content:encoded>
			<wfw:commentRss>http://xuplus.com/article/2007/04/a8.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>XOOPS中Fckeditor 在arctile模组中上传失败解决方法</title>
		<link>http://xuplus.com/article/2007/04/a7.html</link>
		<comments>http://xuplus.com/article/2007/04/a7.html#comments</comments>
		<pubDate>Thu, 12 Apr 2007 10:21:03 +0000</pubDate>
		<dc:creator>Dominic</dc:creator>
				<category><![CDATA[XOOPS]]></category>
		<category><![CDATA[article]]></category>
		<category><![CDATA[fckeditor]]></category>
		<category><![CDATA[上传]]></category>

		<guid isPermaLink="false">http://xuplus.com/?p=7</guid>
		<description><![CDATA[上传过程提示信息： This file uploader is disabled. Please check the “editor/filemanager/upload/php/config.php” file 使用过程中可能出现问题。有以下几个地方要修改 modules\article\fckeditor.upload.php 中必须定义 define(“FCKUPLOAD_DISABLED”, 1); 修改class\xoopseditor\FCKeditor\editor\filemanager\upload\php\upload.php 文件头部为 //Modifyed By XuYong 解决有时不能顺利获取config.php等文件 $current_path =dirname(__FILE__); if ( DIRECTORY_SEPARATOR != “/” ) $current_path = str_replace( DIRECTORY_SEPARATOR, “/”, $current_path); require($current_path.&#8217;/config.php&#8217;) ; require($current_path.&#8217;/util.php&#8217;) ; /* require(&#8216;config.php&#8217;) ; require(&#8216;util.php&#8217;) ; */ //End Modifyed 修改class\xoopseditor\FCKeditor\editor\filemanager\upload\php\connector.php 文件头部为 //Modifyed By XuYong 解决有时不能顺利获取config.php等文件 $current_path [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: 10pt">上传过程提示信息： </span></p>
<p><span style="font-size: 10pt; color: red"><em>This file uploader is disabled. Please check the “editor/filemanager/upload/php/config.php” file </em></span></p>
<p><span style="font-size: 10pt">使用过程中可能出现问题。有以下几个地方要修改 </span></p>
<p><span style="font-size: 10pt; color: red">modules\<a href="http://xuplus.com/article/tag/article" class="st_tag internal_tag" rel="tag" title="标签 article 下的日志">article</a>\<a href="http://xuplus.com/article/tag/fckeditor" class="st_tag internal_tag" rel="tag" title="标签 fckeditor 下的日志">fckeditor</a>.upload.php </span></p>
<p><span style="font-size: 10pt">中必须定义 </span></p>
<p><span style="font-size: 10pt; color: red">define(“FCKUPLOAD_DISABLED”, 1); </span></p>
<p><span style="font-size: 10pt">修改<span style="color: red">class\xoopseditor\FCKeditor\editor\filemanager\upload\php\upload.php</span> </span></p>
<p><span style="font-size: 10pt">文件头部为 </span></p>
<p><span style="font-size: 10pt">//Modifyed By XuYong 解决有时不能顺利获取config.php等文件 </span></p>
<p><span style="font-size: 10pt">$current_path =dirname(__FILE__); </span></p>
<p><span style="font-size: 10pt">if ( DIRECTORY_SEPARATOR != “/” ) $current_path = str_replace( DIRECTORY_SEPARATOR, “/”, $current_path); </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/config.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/util.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">/* </span></p>
<p><span style="font-size: 10pt">require(&#8216;config.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">require(&#8216;util.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">*/ </span></p>
<p><span style="font-size: 10pt">//End Modifyed </span></p>
<p><span style="font-size: 10pt">修改<span style="color: red">class\xoopseditor\FCKeditor\editor\filemanager\upload\php\connector.php</span> </span></p>
<p><span style="font-size: 10pt">文件头部为 </span></p>
<p><span style="font-size: 10pt">//Modifyed By XuYong 解决有时不能顺利获取config.php等文件 </span></p>
<p><span style="font-size: 10pt">$current_path =dirname(__FILE__); </span></p>
<p><span style="font-size: 10pt">if ( DIRECTORY_SEPARATOR != “/” ) $current_path = str_replace( DIRECTORY_SEPARATOR, “/”, $current_path);<span style="color: red"> </span></span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/config.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/util.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/io.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/basexml.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt; color: red">require($current_path.&#8217;/commands.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">/* </span></p>
<p><span style="font-size: 10pt">include(&#8216;config.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">include(&#8216;util.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">include(&#8216;io.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">include(&#8216;basexml.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">include(&#8216;commands.php&#8217;) ; </span></p>
<p><span style="font-size: 10pt">*/ </span></p>
<p><span style="font-size: 10pt">//End Modifyed </span></p>
<p>环境：<a href="http://xuplus.com/article/tag/xoops" class="st_tag internal_tag" rel="tag" title="标签 XOOPS 下的日志">XOOPS</a> 2.0.16 UTF-8</p>
<p><span style="font-size: 10pt"></span></p>

	标签： <a href="http://xuplus.com/article/tag/article" title="article" rel="tag">article</a>, <a href="http://xuplus.com/article/tag/fckeditor" title="fckeditor" rel="tag">fckeditor</a>, <a href="http://xuplus.com/article/tag/xoops" title="XOOPS" rel="tag">XOOPS</a>, <a href="http://xuplus.com/article/tag/%e4%b8%8a%e4%bc%a0" title="上传" rel="tag">上传</a><br />
]]></content:encoded>
			<wfw:commentRss>http://xuplus.com/article/2007/04/a7.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

