Sign in to follow this  
Followers 0
RoLex

[1.1.0] Debug frame doesn't output non Unicode characters

4 posts in this topic

Hi again.

There is one problem that is not so important actually, but still might be useful for debugging. I've noticed it very long time ago, but never had a reason to report. Somehow Russian characters are skipped by debug frame, they are not shown. I suppose this is not only Russian letters that are being skipped, but any other non Unicode characters. Even my nick isn't shown.

Text that appeared in debug window:

Hub: [Outgoing][192.168.1.5:411] <> english letters: test|

Hub: [Incoming][192.168.1.5:411] <> english letters: test

Hub: [Outgoing][192.168.1.5:411] <> russian letters: |

Hub: [Incoming][192.168.1.5:411] <> russian letters:
Text that appeared in hub chat:
[14:43:53] <Степашка> english letters: test

[14:44:09] <Степашка> russian letters: тест

Can you please add the conversion to pad control? :(

I think line 146 in CDMDebugFrame.cpp should look like this:

ctrlPad.AppendText((Text::toT(Text::toUtf8(aLine)) + _T("\r\n")).c_str());

Thank you.

Share this post


Link to post
Share on other sites

Confirmed, but this obviously must be patched at StrongDC client....

Share this post


Link to post
Share on other sites

It's not bug in Debug Frame. This happens because NMDC hubs don't support unicode encoding. ADC works ok.

Share this post


Link to post
Share on other sites

Then I should not see Russian letters in main chat aswell, NMDC doesn't support unicode.

The point is that.. If I'm going to support you with infomation, I would like to support you with all infomation, I can not send you a cut-out piece of text, right?

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0