Code Monkey home page Code Monkey logo

watermelonpizza / ircdotrt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ircdotnet/ircdotnet

2.0 2.0 1.0 1.15 MB

IRC.RT is a complete IRC (Internet Relay Chat) client library for the .NET Framework 4.5, and .NET WinRT Framwork (targeting Windows 8.1+ and Windows Phone 8.1+). It aims to provide a complete and efficient implementation of the protocol as described in RFCs 1459 and 2812, as well as de-facto modern features of the protocol. Note: This repo was cloned from the IRC.NET website

Home Page: https://launchpad.net/ircdotnet

License: MIT License

C# 100.00%

ircdotrt's People

Contributors

alexreg avatar rymate1234 avatar watermelonpizza avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

rymate1234

ircdotrt's Issues

Unicode (UTF-8) characters aren't interpreted correctly

This library seems to have a bit of issues handling Unicode characters.

For example, if I send the following string to a channel with this library joined on it

ヽ༼ຈل͜ຈ༽ノ unicode test ヽ༼ຈل͜ຈ༽

The output in the debug console will be the following:

�༼����༽� unicode test �༼����༽�

Any idea how unicode can be properly handled?

The code used to reproduce this is:

    IrcClient client;

    public MainPage()
    {
        this.InitializeComponent();

        client = new IrcClient();
        IrcRegistrationInfo info = new IrcUserRegistrationInfo()
        {
            NickName = "testuser",
            UserName = "testuser",
            RealName = "testuser"
        };

        client.Connect(new Uri("irc://irc.esper.net:6667"), info);

        client.MotdReceived += Client_MotdReceived;

    }

    private void Client_MotdReceived(object sender, string e)
    {
        client.Channels.Join(new string[] { "#rymate" });
    }

This is based off a windows 10 blank page UWP project.

Edit: adding client.TextEncoding = Encoding.UTF8; didn't rectify the issue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.