Subject | Re: Trying to run TrackStudio :-) |
---|---|
Author | the_a_rioch |
Post date | 2012-06-29T08:01:13Z |
> The problem is that defaulting to UTF8 will not always work fine,why ? doesn't server know what charset of connection is ?
> especially not if the database connected to is not UTF8.
FB 1.x would just refuse.
FB 2.x would transcode to UTF-8 server-side, won't it ?
Or is this dependent upon use fbclient.dll vs direct internal protocol?
> However maybe a more intelligent algorithm for deciding on theI still think that as 0-vs-NULL.
> characterset is possible (eg when NONE is used, try to use the
* If "NONE" is *specified* - then obey and do NO transcoding at all. Raw UTF-16. There is no situation we would think it is reasonable, but we don;t have all the world's wisdom. So if there is some braindead geek wanting to shoot his feet - he is warned and given the gun.
If (sorry for pun) *none* was specified - just no that property at all - then do most flexible or most adaptable thing as heuristics OR deny connection and ask user to read documentation, sine that setting is important and incorrectly set might corrupt his database in long run.
> encoding). I created http://tracker.firebirdsql.org/browse/JDBC-257 toi don't have tracker password here, maybe would later.
> look into this.
I just think link to this discussion is to be added there, so that people could follow why the question was started and what different opinions to be there.
Thanks for clarifying those things to me.