Shoutbox

problem with interface - 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: Scripting (/forumdisplay.php?fid=39)
+----- Thread: problem with interface (/showthread.php?tid=76155)

problem with interface by frosty1433 on 07-17-2007 at 08:57 AM

Well, I am confused. I copied and pasted the example window code from the help file, and it won't work. I tested it MPInterfaceTest, and I get an error. So I tried something, I tested one that I knew would work, and it did. I change something, save, won't work. Change it back, save, won't work. Then I realized it must be the editor (Dreamweaver), which is saving the files in half the size it originally was. I open it in Notepad, and it looks fine. What's going on with Dreamweaver??

So then I copy and paste the code that it used to be into Notepad and save, and it still won't work. I think Dreamweaver is screwin the files over. Is there anyway I can still use Dreamweaver, cause it's my favorite editor?

I opened the original file in Notepad, and the screwed over one in Notepad, and they look exactly the same.

Edit:
Ok, it's not just Dreamweaver, it's XMLSpy and Notepad too. What's going on??


RE: problem with interface by Volv on 07-17-2007 at 09:21 AM

You need to save the file in Unicode format.


RE: problem with interface by frosty1433 on 07-17-2007 at 09:25 AM

I have it set in Dreamweaver to save in Unicode format. I found if I choose save as in Notepad, it works.


RE: problem with interface by Volv on 07-17-2007 at 09:26 AM

quote:
Originally posted by frosty1433
I have it set in Dreamweaver to save in Unicode format.
Unicode-16?
RE: problem with interface by frosty1433 on 07-17-2007 at 09:29 AM

It doesn't say which type, but I just noticed some unicode options in the save window:
-None
-C (Canonical Decomposition, followed by Canonical Composition)
-D (Canonical Decomposition)
-KC (Compatibility Decomposition, followed by Canonical Composition)
-KD (Compatibility Decomposition)

and a checkmark option "Include Unicode Signature (BOM)"

Edit:
all of the are saving the file as 1 KB, whereas the Notepad is saving it 2 KB


RE: problem with interface by Matti on 07-17-2007 at 09:32 AM

In my PHP Designer 2007, I use UTF-16 LE with BOM for Plus! script files (both .js as .xml). Maybe try to set yours to None with BOM?

Side note: This thread should be placed in the Scripts forum, because it's not about Plus! 3 plug-ins.


RE: problem with interface by frosty1433 on 07-17-2007 at 09:37 AM

I've come to the conclusion that Dreamweaver is to blame. I found the page encoding options, and there's a lot of options, but the one I have is Unicode (UTF-8), but there's no Unicode (UTF-16).


I guess I'll just edit in Dreamweaver and copy/paste/save in Notepad.