egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Font and code problem.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
SkIRmiS
Voice


Joined: 28 Oct 2005
Posts: 3

PostPosted: Fri Oct 28, 2005 8:07 am    Post subject: Font and code problem. Reply with quote

Hello,

I'm using mysql DB for storing text. But when I'm parsing text from db to channel, the text is not correct. Missing my native language fonts and code [proc] is not executed as proc, but displayed as text. The color code is not working too.

The code:
set textas [mysqlsel $handle "SELECT textas FROM kalba_lt WHERE kalbos_id='$kodas'" -flatlist]

putserv "PRIVMSG skirmis :$textas"

The result:
[kalba 0],1 Testas [kalba 4]raudonas[kalba 0]! murka \0034lama

Thanks for help!
Skirmantas
Back to top
View user's profile Send private message
SkIRmiS
Voice


Joined: 28 Oct 2005
Posts: 3

PostPosted: Fri Oct 28, 2005 8:20 am    Post subject: Reply with quote

Found the answer, for color and code helps tcl command subst. But still have problem with language fonts, like ąčęėįųūž. When I',m reading from plain txt file everythings works fine, but from DB i got only ?????
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber