UTF-7 byte-order-mark?

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by shark92651
Avatar
Shouldn't I get a UTF-7 preamble on a text file that I save with this encoding? From my understanding, it should be 2B 2F 76 38 2D or ASCII "+/v8-". I am getting the proper BOM for the following encodings, however:

UTF-8 EF BB BF
UTF-16 (little endian) FF EE
UTF-16 (big endian) FE FF

Thanks

Comments (2)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Our save file code is very simple and uses the .NET framework to do all the handling of encoding. Here is our code:
StreamWriter writer = new StreamWriter(stream, encoding);
writer.Write(this.GetText(lineEndStyle)); 
writer.Flush();
writer.Close();
So if that code doesn't properly output the text, then it must be something wrong with the .NET framework.


Actipro Software Support

Posted 19 years ago by shark92651
Avatar
Well thats not unheard of :) Thanks for the reply.
The latest build of this product (v24.1.0) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.