Index: /FCKeditor/trunk/editor/filemanager/connectors/php/commands.php
===================================================================
--- /FCKeditor/trunk/editor/filemanager/connectors/php/commands.php	(revision 758)
+++ /FCKeditor/trunk/editor/filemanager/connectors/php/commands.php	(revision 759)
@@ -71,5 +71,8 @@
 			else
 			{
-				$iFileSize = filesize( $sServerDir . $sFile ) ;
+				$iFileSize = @filesize( $sServerDir . $sFile ) ;
+				if ( !$iFileSize ) {
+					$iFileSize = 0 ;
+				}
 				if ( $iFileSize > 0 )
 				{
Index: /FCKeditor/trunk/editor/filemanager/connectors/php/util.php
===================================================================
--- /FCKeditor/trunk/editor/filemanager/connectors/php/util.php	(revision 758)
+++ /FCKeditor/trunk/editor/filemanager/connectors/php/util.php	(revision 759)
@@ -37,5 +37,21 @@
 function ConvertToXmlAttribute( $value )
 {
-	return ( htmlspecialchars( $value ) ) ;
+	if ( defined( 'PHP_OS' ) ) 
+	{
+		$os = PHP_OS ;
+	}
+	else
+	{
+		$os = php_uname() ;
+	}
+	
+	if ( strtoupper( substr( $os, 0, 3 ) ) === 'WIN' ) 
+	{
+		return ( utf8_encode( htmlspecialchars( $value ) ) ) ;
+	} 
+	else 
+	{
+		return ( htmlspecialchars( $value ) ) ;
+	}	
 }
 
