| View previous topic :: View next topic |
| Author |
Message |
SkIRmiS Voice
Joined: 28 Oct 2005 Posts: 3
|
Posted: Fri Oct 28, 2005 8:07 am Post subject: Font and code problem. |
|
|
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 |
|
 |
SkIRmiS Voice
Joined: 28 Oct 2005 Posts: 3
|
Posted: Fri Oct 28, 2005 8:20 am Post subject: |
|
|
| 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 |
|
 |
|
|
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
|
|