[Mono-dev] Possible bug in encoding at Solaris and PowerPC

Paolo Molaro lupus at ximian.com
Thu Aug 30 07:18:22 EDT 2007


On 08/29/07 pablosantosluac wrote:
> I've found a problem with our server running on MacOSX (PPC) and Solaris 
> SPARC. I'm reading a field in a table from a Firebird database. The field is 
> CHAR(1).
> 
> In Windows (.NET and Mono) and Linux (Mono) when you read the field using 
> firebirdDotNet provider you get a Char as a result. In Solaris SPARC and 
> MacOS X you get a string with two blanks at the end.
> 
> I reported it to the firebirdDotNet list but they told me it must be a Mono 
> problem because it runs on Linux and Windows.

This is most likely an endianess issue in the provider: you could check
the code they use to handle that particular case and see if that is the
issue (or post it here for us to evaluate).

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list