Stan!

There is an article called "Detecting File Encodings in .NET" on http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=469. The provided code is very short and straight forward - it should translate into RBScript without any problems...

Best,
Marcel

On 21.05.2006, at 18:20, Stan Busk wrote:

Hi,

Is there a simple way to determine whether a file is UTF16 encoded? It turns out that if I don't define the encoding of a UTF16 file as UTF16 before reading it, I can't work with its contents. Right now I have a UTF16 file on my desktop BBEdit detects as such. I just wonder how BBedit finds out. Any clue? Can we detect that with RB as well?

Have tried the info at http://support.realsoftware.com/listarchives/ realbasic-nug/2003-12/msg01239.html with no results.

--
~/Stan

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to