What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Character encoding of a file

Character encoding of a file
Author: Message:
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: Character encoding of a file
Yes, just check the first coupel of bytes. For example, the first two bytes of a TFF-16 Unicode file will be 0xFF 0xFE. You can find all the specs you want for all the encoding kinds on the internet.

One thing though: if the file you try to open was simply recorded in an old multibyte format, then there's no header and you cannot know for sure without testing the file visually (I do that with IE myself as it lets you switch the encoding quickly).
[Image: signature2.gif]
08-05-2009 03:19 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Character encoding of a file - by tribbium on 08-05-2009 at 02:28 PM
RE: Character encoding of a file - by Patchou on 08-05-2009 at 03:19 PM
RE: Character encoding of a file - by tribbium on 08-05-2009 at 03:35 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On