This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

UTF-8 not working

General support and discussion of Eggdrop bots.
Post Reply
s
simo
Revered One
Posts: 1078
Joined: Sun Mar 22, 2015 2:41 pm

UTF-8 not working

Post by simo »

we are using m00nies tcl for YT the latest one and we got our own API key and it all works fine exept it doesnt output UTF8 no matter what we do :
we tested with the .tcl encoding system in PL and got utf-8 so thats fine
we installed the needed packages (Ubuntu 20.04 OS)
tcl tcl-dev tcllib tcl-tls

still when we try to use utf8 it doesnt output proper we are kinda stuck what else to try

using:
eggdrop v1.8.4
Tcl library: /usr/share/tcltk/tcl8.6
Tcl version: 8.6.10 (header version 8.6.10)
Tcl is threaded
TLS support is enabled
TLS library: OpenSSL 1.1.1f 31 Mar 2020





for locale this is what we have:

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Last edited by simo on Thu Aug 13, 2020 10:20 am, edited 1 time in total.
User avatar
Arnold_X-P
Master
Posts: 226
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Re: UTF-8 not working

Post by Arnold_X-P »

hi bro (in eggdrop.conf) try with:
set out-encoding "utf-8"
set fallback-encoding "cp1251"
but you have to remove any tcl you try to convert to utf-8 for example:
utf-8.tcl
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
s
simo
Revered One
Posts: 1078
Joined: Sun Mar 22, 2015 2:41 pm

Post by simo »

thanx for your reply Arnold_X-P
i tried that but it didnt work
User avatar
Arnold_X-P
Master
Posts: 226
Joined: Mon Oct 30, 2006 12:19 am
Location: DALnet - Trinidad - Beni - Bolivia
Contact:

Post by Arnold_X-P »

it works very well for me, but try to have with this
set out-encoding "utf-8"
set fallback-encoding "windows-1250"
.:an ideal world:. www.geocities.ws/chateo/yo.htm
my programming place /server ix.scay.net:7005
Post Reply