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.

Eggdrop encoding system cp1251

General support and discussion of Eggdrop bots.
Post Reply
b
bbest
Voice
Posts: 1
Joined: Wed Mar 30, 2016 8:52 am

Eggdrop encoding system cp1251

Post by bbest »

Hello!

I have system:
SMP Debian 3.16.7-ckt20-1+deb8u2 (2016-01-02) x86_64 GNU/Linux
TCL tcl8.6
Install unreal 4.0.2, anope 2.0.3, eggdrop1.6.21-sp0011-modules . All installation was normal except encoding system to cp1251 (ru, Russian). Tried to run eggdrop with options:
LC_ALL=ru_RU.CP1251 LC_TIME=en_US ./eggdrop eggdrop.conf
doesn't help ...
Suzi path in eggdrop tar also didn't help.
Command in DCC chat with bot: .tcl encoding system, shows:
Tcl: cp1251.
In DCC chat with bot code page is all right and wrote Russian symbols, but on main channel it is hieroglyps. It seems that something wrong with reading help, scripts files with cp1251 code page.
Who could suggest something to test?
t
thommey
Halfop
Posts: 76
Joined: Tue Apr 01, 2008 2:59 pm

Post by thommey »

Hello,

the encoding problems are something I have been working recently and would appreciate if you could test if my current solution works for you.

You can download it at https://github.com/eggheads/eggdrop/arc ... ngs.tar.gz (or git clone -b bug/encodings https://github.com/eggheads/eggdrop.git).
It is part of/based on Eggdrop1.8, you can find some more information on http://eggwiki.org/1.8, but in short, it is completely compatible to Eggdrop1.6, all scripts work, 3rd party modules require a tiny change and you can find modules with that applied at ftp://ftp.eggheads.org/pub/eggdrop/modules/1.8/ if you need any of them (gseen is a bit wonky, works if you "make eggdrop" instead of "make").

For the configuration of my encoding code, it should suffice to set

Code: Select all

set out-encoding "cp1251"
in your config, and that's it. No suzi patch required. ".status" in the partyline will tell you a line about the encodings.

Please feel free to see if this works for you and please let me know if it does or doesn't :). You can also chat to me on Freenode #eggdrop if you want.
Post Reply