In our LAN most people use Windows and DC++ 0.668, some use Strong DC.I use microdc for Linux (patched). Problem occurs when users want to download file shared by me. DC++ sends request for file in UTF-8 charset, when Strong DC uses CP1251 charset. My linux machine uses charset KOI8-R. All these charsets are for russian language. The question is: how my microdc can know in what charset file request from remote machine have been sended?Or how to tell remote clients (DC++) to use CP1251 instead of UTF-8?
Many thanks for your help.
File request charset problem
Moderator: Moderators
-
- DC++ Contributor
- Posts: 3212
- Joined: 2003-01-07 21:46
- Location: .pa.us
It depends. If the user has queued from your XML (which is defined as UTF-8), they will use $UGet(Z)Block, and that is defined to be UTF-8. Or they can use $ADCGET, which is also defined to be UTF-8.
If they're queueing from a search result or old file list, they should use whatever their local code page is set to, which cannot be UTF-8.
It sounds like you're seeing a problem which should theoretically never occur.
If they're queueing from a search result or old file list, they should use whatever their local code page is set to, which cannot be UTF-8.
It sounds like you're seeing a problem which should theoretically never occur.