<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Codetch 0.3.4 Bugs</title>
	<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/</link>
	<description></description>
	<pubDate>Tue, 06 Jan 2009 02:01:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
		<item>
		<title>By: inikeKili</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-11696</link>
		<dc:creator>inikeKili</dc:creator>
		<pubDate>Sun, 26 Oct 2008 20:33:06 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-11696</guid>
		<description>hmm interesting site.  I can be ticklish about my   privacy  profession  I have a fresh joke for you)   What time is it when the clock strikes 13? Time to get the clock fixed.</description>
		<content:encoded><![CDATA[<p>hmm interesting site.  I can be ticklish about my   privacy  profession  I have a fresh joke for you)   What time is it when the clock strikes 13? Time to get the clock fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-1635</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Sat, 10 Feb 2007 18:33:35 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-1635</guid>
		<description>Thanks Gozala! My I/O script also has Unicode conversion functions. I'll switch those on for the next version.</description>
		<content:encoded><![CDATA[<p>Thanks Gozala! My I/O script also has Unicode conversion functions. I&#8217;ll switch those on for the next version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gozala</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-1633</link>
		<dc:creator>Gozala</dc:creator>
		<pubDate>Sat, 10 Feb 2007 09:25:02 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-1633</guid>
		<description>Hello!!!
I'm Irakli from Georgia, you know usually we have a lot of problems with developers soft in here, that's because a very few soft supports UTF-8 encoding correctly!!! Our national encoding is supported in utf-8!!!

NOW about the bug!!!!
Codetch currently doesn't read/writes Files encoded in utf8!!!
So sad to me becose I liked it so much!!!

you know I've just started with xul development, but I know how to correct this bug!! I even can do it myself but I prefer to ask you first!!!

I'll post here a little peace of my own script I'm using to read/write files I think it will help you!!!

Thank's anyway
-------------------------------------------------------------------------------------
file = {
	read : function ($from_file) {
		//Result object
		var $result = new Object();
		
		// FireFox-istvis failtan wvdomis txovna
		try {
			netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");} 
		catch ($error) 
			{$result.code = 1;
			$result.value = "Have no privilegies &#124; ERROR : " + $error;
			return $result;}
		
		//Failis wasakitxi mastis sheqmna
		var $file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
		$file.initWithPath($from_file);
		if ($file.exists() == false) 
			{$result.code = 2;
			$result.value = "File does not exists &#124; ERROR : " + $error;
			return $result;}
	
		//Failis shigtavsis amgebi mastis sheqmna \ failis ageba
		var $file_stream = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance(Components.interfaces.nsIFileInputStream);
		$file_stream.init($file,0x01, 00004, null);
		
		//Filis shigtavsis cvladshi gadamyvani mastis gaketeba
		var $file_hold = Components.classes["@mozilla.org/scriptableinputstream;1"].createInstance(Components.interfaces.nsIScriptableInputStream);
		$file_hold.init($file_stream);
		
		//failis shigtavsis 
		var $file_output = $file_hold.read($file_hold.available());
		// Unikodebis podjerjka
		$file_output = file.utf8($file_output,"in");
		
		$result.code = 0;
		$result.value = $file_output;
		
		//mexsierebis gawmenda
		//$file.close();
		$file_stream.close();
		$file_hold.close();
		
		return $result;
	}
,
	write : function ($to_file,$text) {
		//Result object
		var $result = new Object();
	
		try {
			netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");} 
		catch ($error) {
			$result.code = 1;
			$result.value = "Unknown &#124; ERROR : " + $error;
			return $result;}

		// Failis chasaweri mastis sheqmna
		var $file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
		$file.initWithPath($to_file);
		
		if ($file.exists() == false ) { //Tu faili ar arsebobs sheqmna
			$file.create(Components.interfaces.nsIFile.NORMAL_FILE_TYPE, 420 );}
		// failis mexsierebashi gadmotana
		var $file_stream = Components.classes["@mozilla.org/network/file-output-stream;1"].createInstance(Components.interfaces.nsIFileOutputStream );
		$file_stream.init($file, 0x04 &#124; 0x08 &#124; 0x20, 420, 0 );
		// Unikodireba
		$text = utf8($text,"out");
		$file_stream.write($text,$text.length);
		
		$result.code = 0;
		
		// mexsierebis gawmenda
		$file_stream.close();
		//$file.close();
		
		return $result;
	}
,
	utf8 : function($text,$act)	{
		// kodirebis gadamyvani mastis sheqmna
		var $converter = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"].createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
		// UTF-8 kodirebis dayeneba
		$converter.charset = "UTF-8";
		
		if ($act == "in")	// gadagvyavs unikodshi
			{$text = $converter.ConvertToUnicode($text);}
		if ($act == "out")	// gadagvyavs unikodidan
			{$text = $converter.ConvertFromUnicode($text);}
		
		return $text;
	}
}</description>
		<content:encoded><![CDATA[<p>Hello!!!<br />
I&#8217;m Irakli from Georgia, you know usually we have a lot of problems with developers soft in here, that&#8217;s because a very few soft supports UTF-8 encoding correctly!!! Our national encoding is supported in utf-8!!!</p>
<p>NOW about the bug!!!!<br />
Codetch currently doesn&#8217;t read/writes Files encoded in utf8!!!<br />
So sad to me becose I liked it so much!!!</p>
<p>you know I&#8217;ve just started with xul development, but I know how to correct this bug!! I even can do it myself but I prefer to ask you first!!!</p>
<p>I&#8217;ll post here a little peace of my own script I&#8217;m using to read/write files I think it will help you!!!</p>
<p>Thank&#8217;s anyway<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
file = {<br />
	read : function ($from_file) {<br />
		//Result object<br />
		var $result = new Object();</p>
<p>		// FireFox-istvis failtan wvdomis txovna<br />
		try {<br />
			netscape.security.PrivilegeManager.enablePrivilege(&#8221;UniversalXPConnect&#8221;);}<br />
		catch ($error)<br />
			{$result.code = 1;<br />
			$result.value = &#8220;Have no privilegies | ERROR : &#8221; + $error;<br />
			return $result;}</p>
<p>		//Failis wasakitxi mastis sheqmna<br />
		var $file = Components.classes[&#8221;@mozilla.org/file/local;1&#8243;].createInstance(Components.interfaces.nsILocalFile);<br />
		$file.initWithPath($from_file);<br />
		if ($file.exists() == false)<br />
			{$result.code = 2;<br />
			$result.value = &#8220;File does not exists | ERROR : &#8221; + $error;<br />
			return $result;}</p>
<p>		//Failis shigtavsis amgebi mastis sheqmna \ failis ageba<br />
		var $file_stream = Components.classes[&#8221;@mozilla.org/network/file-input-stream;1&#8243;].createInstance(Components.interfaces.nsIFileInputStream);<br />
		$file_stream.init($file,0&#215;01, 00004, null);</p>
<p>		//Filis shigtavsis cvladshi gadamyvani mastis gaketeba<br />
		var $file_hold = Components.classes[&#8221;@mozilla.org/scriptableinputstream;1&#8243;].createInstance(Components.interfaces.nsIScriptableInputStream);<br />
		$file_hold.init($file_stream);</p>
<p>		//failis shigtavsis<br />
		var $file_output = $file_hold.read($file_hold.available());<br />
		// Unikodebis podjerjka<br />
		$file_output = file.utf8($file_output,&#8221;in&#8221;);</p>
<p>		$result.code = 0;<br />
		$result.value = $file_output;</p>
<p>		//mexsierebis gawmenda<br />
		//$file.close();<br />
		$file_stream.close();<br />
		$file_hold.close();</p>
<p>		return $result;<br />
	}<br />
,<br />
	write : function ($to_file,$text) {<br />
		//Result object<br />
		var $result = new Object();</p>
<p>		try {<br />
			netscape.security.PrivilegeManager.enablePrivilege(&#8221;UniversalXPConnect&#8221;);}<br />
		catch ($error) {<br />
			$result.code = 1;<br />
			$result.value = &#8220;Unknown | ERROR : &#8221; + $error;<br />
			return $result;}</p>
<p>		// Failis chasaweri mastis sheqmna<br />
		var $file = Components.classes[&#8221;@mozilla.org/file/local;1&#8243;].createInstance(Components.interfaces.nsILocalFile);<br />
		$file.initWithPath($to_file);</p>
<p>		if ($file.exists() == false ) { //Tu faili ar arsebobs sheqmna<br />
			$file.create(Components.interfaces.nsIFile.NORMAL_FILE_TYPE, 420 );}<br />
		// failis mexsierebashi gadmotana<br />
		var $file_stream = Components.classes[&#8221;@mozilla.org/network/file-output-stream;1&#8243;].createInstance(Components.interfaces.nsIFileOutputStream );<br />
		$file_stream.init($file, 0&#215;04 | 0&#215;08 | 0&#215;20, 420, 0 );<br />
		// Unikodireba<br />
		$text = utf8($text,&#8221;out&#8221;);<br />
		$file_stream.write($text,$text.length);</p>
<p>		$result.code = 0;</p>
<p>		// mexsierebis gawmenda<br />
		$file_stream.close();<br />
		//$file.close();</p>
<p>		return $result;<br />
	}<br />
,<br />
	utf8 : function($text,$act)	{<br />
		// kodirebis gadamyvani mastis sheqmna<br />
		var $converter = Components.classes[&#8221;@mozilla.org/intl/scriptableunicodeconverter&#8221;].createInstance(Components.interfaces.nsIScriptableUnicodeConverter);<br />
		// UTF-8 kodirebis dayeneba<br />
		$converter.charset = &#8220;UTF-8&#8243;;</p>
<p>		if ($act == &#8220;in&#8221;)	// gadagvyavs unikodshi<br />
			{$text = $converter.ConvertToUnicode($text);}<br />
		if ($act == &#8220;out&#8221;)	// gadagvyavs unikodidan<br />
			{$text = $converter.ConvertFromUnicode($text);}</p>
<p>		return $text;<br />
	}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benedict Ernst</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-63</link>
		<dc:creator>Benedict Ernst</dc:creator>
		<pubDate>Sat, 25 Mar 2006 19:32:33 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-63</guid>
		<description>XML-Verarbeitungsfehler: Fehler beim Verarbeiten von Referenz auf externe Entität
Adresse: chrome://codetch/content/codetch.xul
Zeile Nr. 12, Spalte 1:%codetchDTD;
^%codetchDTD;
^%codetchDTD;
^%codetchDTD;
^

Thats my Problem...if u can help me i am very thanksfully for a short mail.</description>
		<content:encoded><![CDATA[<p>XML-Verarbeitungsfehler: Fehler beim Verarbeiten von Referenz auf externe Entität<br />
Adresse: chrome://codetch/content/codetch.xul<br />
Zeile Nr. 12, Spalte 1:%codetchDTD;<br />
^%codetchDTD;<br />
^%codetchDTD;<br />
^%codetchDTD;<br />
^</p>
<p>Thats my Problem&#8230;if u can help me i am very thanksfully for a short mail.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hyperknuck</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-52</link>
		<dc:creator>Hyperknuck</dc:creator>
		<pubDate>Tue, 17 Jan 2006 20:39:28 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-52</guid>
		<description>When i try to make a new page, it says: openenr.codetch has no properties.
How can i change the properties then???</description>
		<content:encoded><![CDATA[<p>When i try to make a new page, it says: openenr.codetch has no properties.<br />
How can i change the properties then???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpjanze</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-46</link>
		<dc:creator>jpjanze</dc:creator>
		<pubDate>Fri, 30 Dec 2005 17:32:48 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-46</guid>
		<description>I can't seem to get design or preview windows to work on osX and ff1.5 - anyone else had a problem?

I can get code and reference window, but when I select anything else it is just a blank window.</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to get design or preview windows to work on osX and ff1.5 - anyone else had a problem?</p>
<p>I can get code and reference window, but when I select anything else it is just a blank window.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caesar</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-26</link>
		<dc:creator>Caesar</dc:creator>
		<pubDate>Tue, 11 Oct 2005 18:42:58 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-26</guid>
		<description>Doesn't support FF 1.5 Beta 2</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t support FF 1.5 Beta 2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erlando</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-24</link>
		<dc:creator>erlando</dc:creator>
		<pubDate>Sun, 09 Oct 2005 17:06:50 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-24</guid>
		<description>I'm having the same problems as redclay above. FC4, firefox 1.0.7, codetch 0.3.5.

Which folders is it writing to?</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the same problems as redclay above. FC4, firefox 1.0.7, codetch 0.3.5.</p>
<p>Which folders is it writing to?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-23</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Wed, 05 Oct 2005 18:14:21 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-23</guid>
		<description>Redclay, this seems to be a problem with folder permissions on Linux when Codetch installs... which I thought i fixed &#62;:(.

hrajko, hmm, I am aware of this problem and am devising a solution, if not some strange work around which may not work. Any experience extension developers are encouraged to help, on any solutions for that matter. Maybe I overlooked something that would make this feature simple... (in file I/O perhaps?)

Caesar, probably the release after next.</description>
		<content:encoded><![CDATA[<p>Redclay, this seems to be a problem with folder permissions on Linux when Codetch installs&#8230; which I thought i fixed &gt;:(.</p>
<p>hrajko, hmm, I am aware of this problem and am devising a solution, if not some strange work around which may not work. Any experience extension developers are encouraged to help, on any solutions for that matter. Maybe I overlooked something that would make this feature simple&#8230; (in file I/O perhaps?)</p>
<p>Caesar, probably the release after next.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Caesar</title>
		<link>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-22</link>
		<dc:creator>Caesar</dc:creator>
		<pubDate>Wed, 05 Oct 2005 15:30:20 +0000</pubDate>
		<guid>http://blog.codetch.com/2005/09/05/codetch-034-bugs/#comment-22</guid>
		<description>When will the extension support Firefox 1.5 beta?
It looks good, but I can't install it.
(FF 1.5 b - Win XP SP2)</description>
		<content:encoded><![CDATA[<p>When will the extension support Firefox 1.5 beta?<br />
It looks good, but I can&#8217;t install it.<br />
(FF 1.5 b - Win XP SP2)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
