[ubuntu-mono] [Bug 45702] mono apps output byte order mark even on UTF-8 console

Steve Cheng steve.ckp at gmail.com
Sat May 20 05:32:09 BST 2006


Public bug reported:

Binary package hint: mono

In any binary that uses mono to run,
and outputs on a console,
the extraneous bytes for the “UTF-8 byte order mark” are output.
They should not be.

As an example,
examine the output of xsd.exe.

$  xsd |od -w16 -t x1c
0000000 ef bb bf 78 73 64 2e 65 78 65 20 2d 20 61 20 75
        357 273 277   x   s   d   .   e   x   e       -       a       u

The first three strange numbers form the byte order mark.
Under gnome-terminal that byte order mark renders as a extra garbage character.

Apparently this bug should have been resolved a long time ago, according
to this upstream bug report:

http://bugzilla.ximian.com/show_bug.cgi?id=52101

but I am still seeing the problem described therein.

Thanks for your concern,
// Steve Cheng

** Affects: mono (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

-- 
mono apps output byte order mark even on UTF-8 console
https://launchpad.net/bugs/45702



More information about the Ubuntu-mono mailing list