<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/20152" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2016-05-12T18:24:25-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/20152</id>

		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-05-12T01:05:26-04:00</updated>

		<published>2016-05-12T01:05:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105005#p105005</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105005#p105005"/>
		<title type="html"><![CDATA[[SOLVED] Bot can saved TXT with UTF-8 encoding?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105005#p105005"><![CDATA[
I edited the post , encoding not work.<br><strong class="text-strong"><span style="text-decoration:underline">Final Edit</span></strong><span style="text-decoration:underline">:</span><br>I fixed it!!<br>Instead of utf-8 the encoding was iso-8859, because my web client works with Windows system.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Thu May 12, 2016 1:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-05-08T18:22:33-04:00</updated>

		<published>2016-05-08T18:22:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104998#p104998</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104998#p104998"/>
		<title type="html"><![CDATA[[SOLVED] Bot can saved TXT with UTF-8 encoding?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104998#p104998"><![CDATA[
Thanks nml375 , works!<br><strong class="text-strong">EDIT</strong><br>Not work<div class="codebox"><p>Code: </p><pre><code>[juan@vps92318 eggdrop]$ file -bi livesong.txttext/plain; charset=us-ascii</code></pre></div>I try<div class="codebox"><p>Code: </p><pre><code>[juan@vps92318 eggdrop]$ iconv -f us-ascii -t UTF-8 livesong.txt[juan@vps92318 eggdrop]$ file -bi livesong.txttext/plain; charset=us-ascii</code></pre></div>The Bot does NOT save the file with UTF-8 encoding format and the system did not change the encoding..... <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Sun May 08, 2016 6:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2016-05-08T08:13:01-04:00</updated>

		<published>2016-05-08T08:13:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104996#p104996</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104996#p104996"/>
		<title type="html"><![CDATA[[SOLVED] Bot can saved TXT with UTF-8 encoding?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104996#p104996"><![CDATA[
You could use the fconfigure command to set the desired encoding of the channelId (in this case, the opened file).<br><br>Try something like this:<div class="codebox"><p>Code: </p><pre><code>set liveme [encoding convertfrom utf-8 "[lrange $cursong 1 [llength $cursong]]"] set temp [open "livesong.txt" w+]fconfigure $temp -encoding utf-8puts $temp "$liveme" close $temp</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sun May 08, 2016 8:13 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[juanamores]]></name></author>
		<updated>2016-05-12T18:24:25-04:00</updated>

		<published>2016-05-08T02:48:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=104993#p104993</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=104993#p104993"/>
		<title type="html"><![CDATA[[SOLVED] Bot can saved TXT with UTF-8 encoding?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=104993#p104993"><![CDATA[
I use:<div class="codebox"><p>Code: </p><pre><code>set liveme [encoding convertfrom utf-8 "[lrange $cursong 1 [llength $cursong]]"]set temp [open "livesong.txt" w+]puts $temp "$liveme"close $temp</code></pre></div>But, the livesong.txt file is saved with ANSI encoding.<br>I need the BoT save it with UTF-8 encoding.<br>It can?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12499">juanamores</a> — Sun May 08, 2016 2:48 am</p><hr />
]]></content>
	</entry>
	</feed>
