From: Luke Fitzgerald Date: Wed, 21 Jul 2010 12:21:37 +0000 (-0700) Subject: Corrected UTF8 to UTF-8 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=af5ecb88b153c44ab5dbb263edf58a8914a6ca17;p=quix0rs-gnu-social.git Corrected UTF8 to UTF-8 --- diff --git a/plugins/Irc/README b/plugins/Irc/README index 5b86a04499..2429a5b81f 100644 --- a/plugins/Irc/README +++ b/plugins/Irc/README @@ -21,7 +21,7 @@ password: Password nickservpassword: NickServ password for identification channels: Channels for bot to idle in transporttype: Set to 'ssl' to enable SSL -encoding: Set to UTF8 to enable UTF8 encoding +encoding: Set to change encoding * required diff --git a/plugins/Irc/ircmanager.php b/plugins/Irc/ircmanager.php index 8919e005e3..c885064916 100644 --- a/plugins/Irc/ircmanager.php +++ b/plugins/Irc/ircmanager.php @@ -86,7 +86,7 @@ class IrcManager extends ImManager { $port = empty($this->plugin->port) ? 6667 : $this->plugin->port; $password = empty($this->plugin->password) ? '' : $this->plugin->password; $transport = empty($this->plugin->transporttype) ? 'tcp' : $this->plugin->transporttype; - $encoding = empty($this->plugin->encoding) ? 'UTF8' : $this->plugin->encoding; + $encoding = empty($this->plugin->encoding) ? 'UTF-8' : $this->plugin->encoding; $nickservpassword = empty($this->plugin->nickservpassword) ? '' : $this->plugin->nickservpassword; $channels = empty($this->plugin->channels) ? array() : $this->plugin->channels;