Subject | Unicode conversion problem? |
---|---|
Author | willy_metra |
Post date | 2007-01-08T12:31:15Z |
Hello,
i'm passing char (supposed to be Unicode, when i'm using MS VS 2005) as
the FireBird 1.5 stored procedure input parameter, however some chars,
especially the ones with ordinal value over 127, are stored as '?'.
Code sample:
for (int i = 0; i <= 255; i++)
{
fbCommand1.Parameters["@INPUT"].Value = (char)i;
fbCommand1.ExecuteNonQuery();
}
How can i prevent replacing original char values with '?' char, please?
Thank you for any help.
i'm passing char (supposed to be Unicode, when i'm using MS VS 2005) as
the FireBird 1.5 stored procedure input parameter, however some chars,
especially the ones with ordinal value over 127, are stored as '?'.
Code sample:
for (int i = 0; i <= 255; i++)
{
fbCommand1.Parameters["@INPUT"].Value = (char)i;
fbCommand1.ExecuteNonQuery();
}
How can i prevent replacing original char values with '?' char, please?
Thank you for any help.