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 

Eggdrop encoding system cp1251

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


Joined: 30 Mar 2016
Posts: 1

PostPosted: Wed Mar 30, 2016 9:03 am    Post subject: Eggdrop encoding system cp1251 Reply with quote

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?
Back to top
View user's profile Send private message
thommey
Halfop


Joined: 01 Apr 2008
Posts: 73

PostPosted: Fri Apr 29, 2016 6:25 pm    Post subject: Reply with quote

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/archive/bug/encodings.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:
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.
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 -> Eggdrop 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