Shoutbox

Send file function problem? (please close - NOT a bug) - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: WLM Plus! Bug Reports (/forumdisplay.php?fid=7)
+----- Thread: Send file function problem? (please close - NOT a bug) (/showthread.php?tid=72969)

Send file function problem? (please close - NOT a bug) by n0obie4life on 03-24-2007 at 04:14 PM

quote:
Originally posted by n0obie4life
Hey,

Is it possible to get your script to not send my files as...(look at filename)
[Image: capturemz0.jpg]

It's kind of irritating..especially when  everything else is corrrect -
http://img249.imageshack.us/img249/5325/capture2ws4.jpg (WLM's now playing status field)
http://img249.imageshack.us/img249/7198/capture3pl0.jpg (windows explorer)

and that WLM supports sending of filenames with Chinese Characters.

Thanks :).


Hi all,

I posted this in -dt-'s topic for his Music Now Playing plugin. He says it's a problem with either Messenger or MPL! I thought it would be a MPL! problem as if I used the ctrl+c and ctrl+v, drag drop function or even the sendfile function to send a filename that has chinese characters in it, it'll show the chinese characters and not some weird chunk of gibberish.

Can this be fixed?

Thanks :).

edit: Just to illustrate what I meant that will be shown if I used the normal way to send files:

[Image: capturezx5.jpg]
RE: Send file function problem? by -dt- on 03-24-2007 at 04:29 PM

hmm Ive been thinking about this and it may be a script problem , what media player are you using? it may be sending non unicode stuff to my script or something else dodgy is going on

could you upload that song somewhere so i can test?


RE: Send file function problem? by n0obie4life on 03-24-2007 at 06:18 PM

I'm using Winamp 5.33.

All you need to do is really change a song's filename into a few chinese characters :D.

edit: Can't type chinese characters here, they don't seem to work.

edit2: I tried this piece of code

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, StrMessage, MessageKind)
{
    var StrListTag = "!testsend";

    if( StrMessage.substr(0, StrListTag.length) )
    {
        if ( ChatWnd.SendFile("C:\Path\To\My\Music\不可思议.mp3") )
        {
        ChatWnd.SendMessage("Sending you the file");
        }
        else
        {
        ChatWnd.SendMessage("Failed");
        }
    }
}

MPL! keeps spamming failed :o. I hope this is of some use (note: song is different..but it shouldn't matter). And the HTML entities you see are actually the song name..in the actual characters.

RE: Send file function problem? by n0obie4life on 03-25-2007 at 04:44 AM

Please close. Fixed the script..sending a PM to -dt-.