Subject Re: [Firebird-Java] Updating FAQ
Author Mark Rotteveel
On 2017-03-12 20:46, 'William L. Thomson Jr.' wlt-ml@...
[Firebird-Java] wrote:
> I think the FAQ needs to be updated, assuming this is the official one
>
> https://www.firebirdsql.org/file/documentation/drivers_documentation/java/
> faq.html
>
> While this covers the connection character set information. It still
> seems a
> big vague and has several ways to go about this.
>
> https://www.firebirdsql.org/file/documentation/drivers_documentation/java/
> faq.html#how-can-i-solve-the-error-connection-rejected-no-connection-
> character-set-specified
>
> I never tried the encoding. Not sure it should even be mentioned. Even
> if an
> option that works to many can cause confusion. Likely need to stick to
> lc_ctype (firebird)
> charSet (java)

Encoding is an alias for lc_ctype, and in my opinion the name encoding
is more descriptive than lc_ctype, hence my preference to specify
"connection property encoding (or lc_ctype)". Encoding is also the
property name that has been given preference in most Jaybird
documentation in the past. I'd sooner prefer to remove lc_ctype from the
documentation, if it weren't for the fact that that would sever the link
with isc_dpb_lc_ctype which might be mentioned in other Firebird
material.

>
> I think that is simplest. Just leave out encoding and localEncoding.
> The
> comments in this post I think provide clear explanation and usage of
> lc_ctype
> and charSet. Could just add that stuff to FAQ as is.
> https://beta.groups.yahoo.com/neo/groups/Firebird-Java/conversations/messages/
> 11292

I'll see if I can include that in some way. Thanks for the suggestion.

Mark