Subject Re: Approaches at JB-to-FB conenctions regarding charsets
Author the_a_rioch
> > NONE means "no transcoding", pass binary data non-changed.
> > It means "there is NO language context"
> > It means "that is supposed to be raw binary data and client takes all responsibility how to find text there, if it exists at all"
> There is no other option, because it will *NEED* to be converted to
> Strings in Java due to JDBC requirements and therefor you *HAVE* to
> select an encoding.

Okay, you may fail trying to get those fields as strings instead of as byte arrays.

If there is no requirement that string field must always give correct value - then it might work.

Or you may *pretend* that each byte pair constitutes UTF-16 char / binary buffer already contain UTF-16 string.
Since UTF-16 is not fixed char length, this has a potential to length errors of different kinds.

Since i don't know JDBC, i can't say if String Field would allow other types of access than AsString. Can one get is as raw byte array or not ?