I search the forums and documentation, but any option like this I can't find.
I am running a Debian Testing server with ejabberd 1.0.0-1 and erlang 1:10.b.9-2
I am trying to post to an IRC server from ejabberd and a Jabber client (Coccinella).
It works ok, I am getting connection (open room "test%irc.server.com@jabber.my.com" which opens #test @ irc.server.com). But I get strange Unicode characters, instead of ISO-8859-1 (Latin-1) that I want in that group (that is the charactes å,ä and ö for locales sv_SE.UTF-8).
So the question is, where do I set default character set for IRC in mod_irc? I do want to have Latin-1
as default and other character sets as an option for different servers.
You can change this setting
You can change this setting as an end-user by going in Coccinella to the disco tabblad, then right click on the mod_irc component and select Register.
Changing the default setting for all users is currently only possible by editing the source code and recompiling the module. I just send Alexey a reminder about it. :o)
--
sander
I couldn't see if the new
I couldn't see if the new release has got any fixes for this issue from release notes or (IRC Gateway improvements).
So, anyone that has tried, still an issue?
Not on 1.1.0. Try this patch
No, they are not related to default encoding.
Check this bug report: . There's a patch, can you try it to verify if it really works?
If you use a precompiled package and can't patch and recompile the sources, you can use this (it probably requires ejabberd 1.1.0 and Erlang R10B).
Thanks for the patch. I will
Thanks for the patch.
I will try this out on a server running Debain/testing. Should not be to big deal to rebuild ejabberd on it.
--
Debian is all I need.
in 1.1.4 mod_irc.erl still
in 1.1.4 mod_irc.erl still uses
-define(DEFAULT_IRC_ENCODING, "koi8-r").Changing this was the only way for me that finally gave me umlauts.
(I also tried
{default_encoding, "utf-8"}and{"irc.freenode.net","utf-8"}in ejabberd.cfg which didn't work)Please make the charset settable without having to recompile the code; or at least set it to utf-8 as default which is xmpp standard.
This improvement is tracked
This improvement is tracked here:
This bug is fixed in the SVN
This bug is fixed in the SVN version.