Subject Re: [firebird-support] Unicode conversion problem?
Author ian
willy_metra wrote:
>
>
> 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.Paramete rs["@INPUT" ].Value = (char)i;
> fbCommand1.ExecuteN onQuery() ;
> }
>
> How can i prevent replacing original char values with '?' char, please?
> Thank you for any help.
>

How do you know it is "?" ?. If you are viewing it in some Windows
screen, then it is probably the display unable to show the real
character and just showing a default substitute. Display the ordinal
value as an integer as well as the character.

regards
ian