<?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/9654" />

	<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>2005-05-18T18:34:41-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ac1d]]></name></author>
		<updated>2005-05-18T18:34:41-04:00</updated>

		<published>2005-05-18T18:34:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49593#p49593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49593#p49593"/>
		<title type="html"><![CDATA[encoding problem. (asian language)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49593#p49593"><![CDATA[
Hello again De Kus!<br><br>Basically korean isn't compatible with utf-8. so i must use euc-kr.<br>scripted in utf-8 but it's kinda 'grab from web' style script and the dest site is korean. so it is.<br>since i'm just one of newbie. not script friendly.<br>i don't understand what that is and how to. <br>but i'll try. <br><br>Thank you always De Kus.<br>(can i pm you on irc?)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6180">ac1d</a> — Wed May 18, 2005 6:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-18T18:18:00-04:00</updated>

		<published>2005-05-18T18:18:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49591#p49591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49591#p49591"/>
		<title type="html"><![CDATA[encoding problem. (asian language)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49591#p49591"><![CDATA[
hmm, cant you try to convert the euc-kr scripts to utf-8? I have made a quick lookup in the eggdrop source. It seems everything is utf hardcoded, there seems not to be a switch or something like that. However, I saw a #ifdef for TCL encoding use. you could try to use the "old" methode supposed to be used for tcl preior to 8.1. But i am not sure if this only used for buildin tcl comands.<br><blockquote class="uncited"><div>#ifdef USE_TCL_ENCODING<br>  /* properly convert string to system encoding. */<br>  Tcl_DStringInit(&amp;dstr);<br>  Tcl_UtfToExternalDString(NULL, interp-&gt;result, -1, &amp;dstr);<br>  result = Tcl_DStringValue(&amp;dstr);<br>#else<br>  /* use old pre-Tcl 8.1 way. */<br>  result = interp-&gt;result;<br>#endif</div></blockquote>You can find some more lines, if you search for "ifdef USE_TCL_ENCODING" even in other files. with luck you can make him somehow to compile with USE_TCL_ENCODING = FALSE. This wouldn't change the encoding to euc-kr, but with a bit luck the way it was before 8.1 <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed May 18, 2005 6:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ac1d]]></name></author>
		<updated>2005-05-17T20:38:31-04:00</updated>

		<published>2005-05-17T20:38:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49579#p49579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49579#p49579"/>
		<title type="html"><![CDATA[encoding problem. (asian language)]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49579#p49579"><![CDATA[
hello. i'm using eggdrop 1.6.17 with tcl 8.4.3<br>after encoding changes of tcl 8.1, newer versions of tcl doesn't work with asian language.<br>so i was using eggdrop 1.6.17 with tcl 8.0.4 cause of encoding problem.<br>but since newer scripts requires latest tcl, i'm trying to get it work with latest tcl.<br>have turned on tcl and set commands for eggdrop.<br>so when i try to change encoding type to euc-kr<br>it just seems nothing is wrong in dcc<br>but still doesn't work with double-width language (euc-kr)<br><br>i tried ".tcl a [encoding convertto euc-kr "blah"]"<br><br>any scripts that works with UTF-8 is working.<br>but few scripts that doesn't support UTF-8 are showing crashed texts.<br>if there's anyway to change encoding type for eggdrop<br>please help me.<br><br>/note that i want to change whole encoding type. not specific text.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6180">ac1d</a> — Tue May 17, 2005 8:38 pm</p><hr />
]]></content>
	</entry>
	</feed>
