dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]how to find ByteOrder Marks


From: minddog
Subject: [DotGNU]how to find ByteOrder Marks
Date: Wed, 5 Mar 2003 04:16:07 -0700
User-agent: KMail/1.5.9

I don't know how to find these marks from a streamFragment since I am unsure 
if there is a class that already does this.  Anyone help me out here? =)

        // TODO: find byte order mark 
// // EF BB BF = utf8
// // FE FF = utf16/ucs-2 little endian
// // FF FE = utf16/ucs-2, big endian
// // FF FE 00 00 = UTF-32/ucs-4, little endian
// // 00 00 FE FF = UTC-32/UCS-4, big endian
        // else ...
// encoding = System.Text.UT8Encoding(true);


regards,
-- 
--minddog( Adam Ballai )

"I try to take it one day at a time, but several of them attack me at once."
-mistyflip


reply via email to

[Prev in Thread] Current Thread [Next in Thread]