[Mono-dev] Maybe a System.Data.OracleClient.dll bug
Daniel Morgan
monodanmorg at yahoo.com
Mon Oct 2 12:44:05 EDT 2006
Yeah, I tried looking at it the other day, but I have
no idea how to test unicode stuff.
Maybe eno on GimpNet IRC #mono can help you. He may
not be able to help with Oracle, but he knows unicode
very well. jonp is another good person to to talk to.
If possible, write a Windows.Forms application with a
rich text box or a Gtk# application with a TextView
and output your result there. This is so unicode
characters will show up for you.
When looking at the output in a MS DOS Command Prompt,
all I get is ? (question marks) as well.
Also, Oracle SQL Developer is a good oracle GUI tool
which is free to download and use. It uses JDK 1.5
(JRE 1.5 will not work). This tool shows the unicode
characters.
--- Leszek Ciesielski <skolima at gmail.com> wrote:
> I have started (finally!) to work on this bug. The
> test I am currently
> using fails, with or without patch... although in an
> unexpected way.
>
> On mono, it breaks with:
>
> Failures:
> 1)
>
MonoTests.System.Data.OracleClient.Oci.OciDefineHandleTest.TrimsWideUnicodeStringsTest
> : Directly passed value mismatched
> String lengths are both 25.
> Strings differ at index 2.
>
> expected:<"chã¼arå
¥actæ¬ersæ utf8
> læ¥ong">
> but was:<"ch?ar?act?ers? utf8 l?ong">
> -------------^
>
> (If your PC does not render east-asian fonts - upper
> line contains
> some japanese and chinese glyphs, in the lower they
> are replaced by
> question marks.)
> The string doesn't get trimmed. I suppose this is a
> problem with the
> setup of my Oracle database.
> To verify, I tried to run the code on MS.Net 1.1. It
> breaks... with
> OracleException Ora 12571:TNS:packket writer
> failure. Any sugestions?
> I attach the regression for bug 78840.
> > _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
>
http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Mono-devel-list
mailing list