Title: Krushkov's Replies | WordPress.org

---

# Krushkov

  [  ](https://wordpress.org/support/users/krushkov/)

 *   [Profile](https://wordpress.org/support/users/krushkov/)
 *   [Topics Started](https://wordpress.org/support/users/krushkov/topics/)
 *   [Replies Created](https://wordpress.org/support/users/krushkov/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/krushkov/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/krushkov/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/krushkov/engagements/)
 *   [Favorites](https://wordpress.org/support/users/krushkov/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[KiwiChat NextClient] Problem with Cyrillic encoding](https://wordpress.org/support/topic/problem-with-cyrillic-encoding/)
 *  Thread Starter [Krushkov](https://wordpress.org/support/users/krushkov/)
 * (@krushkov)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cyrillic-encoding/#post-16997685)
 * Hello,
 * Now the link is formed as follows:
 *     ```wp-block-code
       https://kiwiirc.com/nextclient/?theme=sky#irc://irc.cyberircd.net/#Bulgaria,#Cyber,#30-40,#Bourgas,#Plovdiv,#Sofia,#Vip,#gyuvetch,#dev?nick=CyberWeb_12842&cp1251"
       ```
   
 * As at the end of the link it ends like this: **&cp1251**
 * The link should end with **&encoding=cp1251** to work properly
 * The link should look like this:
 *     ```wp-block-code
       https://kiwiirc.com/nextclient/?theme=sky#irc://irc.cyberircd.net/#Bulgaria,#Cyber,#30-40,#Bourgas,#Plovdiv,#Sofia,#Vip,#gyuvetch,#dev?nick=CyberWeb_12842&encoding=cp1251"
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[KiwiChat NextClient] Problem with Cyrillic encoding](https://wordpress.org/support/topic/problem-with-cyrillic-encoding/)
 *  Thread Starter [Krushkov](https://wordpress.org/support/users/krushkov/)
 * (@krushkov)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cyrillic-encoding/#post-16983709)
 * Hello,
 * Sorry, but the issue still exists. When update to new version 6.1 and type in
   Coding: cp1251 did not work. Continue to see all text in ????????
 * Thank you,
 * Plamen Krushkov
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[KiwiChat NextClient] Only port 6697](https://wordpress.org/support/topic/only-port-6697/)
 *  Thread Starter [Krushkov](https://wordpress.org/support/users/krushkov/)
 * (@krushkov)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/only-port-6697/#post-16982430)
 * Hello,
 * We have other ports on our network than the standard ones 6667 and 6697. When
   I try to switch to someone else whether it’s ssl or not it stays on the standard
   ports.
 * Thank you
 * Plamen Krushkov
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[KiwiChat NextClient] Problem with Cyrillic encoding](https://wordpress.org/support/topic/problem-with-cyrillic-encoding/)
 *  Thread Starter [Krushkov](https://wordpress.org/support/users/krushkov/)
 * (@krushkov)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/problem-with-cyrillic-encoding/#post-16974959)
 * Hello,
 * I found a solution for Cyrillic.
 * The solution is: In the folder with name public have file with name index.php
 * You need to edit this file by putting this line inside
 *     ```wp-block-code
       $url = $url."&encoding=cp1251";
       ```
   
 * You must put it after this line
 *     ```wp-block-code
       $url = $url."?nick=".str_replace("?", rand(10000,99999), get_option('kiwichat_nick'));
       ```
   
 * and the file index.php should look like this:
 *     ```wp-block-code
       <?php
   
       defined('ABSPATH') or die("Do not change anything here!");
       function kiwichat_page( $atts ) {
           $url = KIWICHAT_URLBASE."nextclient/?";
           if (get_option('kiwichat_style') != '')
               $url = $url."theme=".get_option('kiwichat_style');
       	  if (get_option('kiwichat_server') != '')
               $url = $url."#irc://".get_option('kiwichat_server');
   
       	  $channels = isset($atts['chan']) ? $atts['chan'] : '';
           if ($channels == '')
               $channels = get_option('kiwichat_chan');
           if ($channels != '')
               $url = $url."/".$channels;
   
           if (get_option('kiwichat_nick') != '')
               $url = $url."?nick=".str_replace("?", rand(10000,99999), get_option('kiwichat_nick'));
               $url = $url."&encoding=cp1251";
       ?>
       <center>
               <iframe
                   marginwidth="0"
                   marginheight="0"
                   src="<?php echo $url; ?>"
       <?php
           if (get_option('kiwichat_width') != '')
               echo "width=\"".get_option('kiwichat_width')."\"";
           if (get_option('kiwichat_height') != '')
               echo "height=\"".get_option('kiwichat_height')."\"";
       ?>
                   scrolling="no"
                   frameborder="0">
               </iframe>
       <?php
       }
       function kiwichat( $atts ) {
           ob_start();
           kiwichat_page( $atts );
           return ob_get_clean();
       }
       add_shortcode( 'kiwichat', 'kiwichat' );
       ?>
       ```
   

Viewing 4 replies - 1 through 4 (of 4 total)