aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: View Files and Unicode  (Read 1599 times)

balkinrn

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
View Files and Unicode
« on: March 06, 2006, 06:00:35 PM »

Well, actually sometimes I need to browse my friends' files, and when they have russian symbols in directories names, I get nothing from that directory.
Actually, I don't understand what I was doing very well, but the following seems to fix this issue:

Code: [Select]
       case OP_ASKSHAREDDIRSANS:{      // 0.43b
... skip ...
                    CMemFile tempfile(80);
                    //tempfile.WriteString(strDir);
                    tempfile.WriteString(strDir, m_client->GetUnicodeSupport());
                    CPacket* replypacket = new CPacket(&tempfile, OP_EDONKEYPROT, OP_ASKSHAREDFILESDIR);
... skip ...
That's from ClientTCPSocket.cpp file. I guess you'd prefer a unified diff, and if I found some new bugs, I'll post unified diffs.

Actually, this is not a trouble for the global networks, but we do have edonkey server for a relatively small intranet, and this makes sense here.

Also, what do I do to get a response to my own backtraces posted into the Amule crashes forum? I'd be happy to fix it myself or to help somehow, but I don't know what to do and don't have any ideas how it could happen.
TIA.
Logged