On Jun 16, 2007, at 8:40 AM, Brian Stevens wrote: > the unicode in the source file is something I would have to > research since I don't know how to identify it in a data stream. > There are calls to convert unicode to pascal string and vice-versa. The pascal string could then be processed as a stream of characters. Don't know if this helps. // UnicodeConverter.h #define TextToUnicodeInfo as Ptr // opaque #define UnicodeToTextInfo as Ptr // opaque toolbox fn CreateTextToUnicodeInfoByEncoding( TextEncoding iEncoding, TextToUnicodeInfo *oTextToUnicodeInfo ) = OSStatus toolbox fn CreateUnicodeToTextInfoByEncoding( TextEncoding iEncoding, UnicodeToTextInfo *oUnicodeToTextInfo ) = OSStatus toolbox fn ConvertFromPStringToUnicode( TextToUnicodeInfo iTextToUnicodeInfo, Str255 *iPascalStr,¬ ByteCount iOutputBufLen, ByteCount oUnicodeLen, UniChar oUnicodeStr [] ) = OSStatus toolbox fn ConvertFromUnicodeToPString( UnicodeToTextInfo iUnicodeToTextInfo, ByteCount iUnicodeLen,¬ const UniChar iUnicodeStr[], Str255 *oPascalStr ) = OSStatus