On 3/22/2016 8:33 AM, Dimitry Sibiryakov wrote: > Hello, All. > > Because there is nothing like isc_spb_lc_ctype, must be established a > rule for > determining of encoding of all strings passed into services and back. I > suggest to use > following: > If isc_spb_utf8_filename is included in SPB, all strings are supposed to > be in UTF8. > Otherwise they are in ANSI code page on Windows and current locale on > *nix. > > Do you agree? >
I don't agree. It would be better all around if everything passing over the wire is passed as utf-8. The server should get out of the business of handling local character sets. The Unicode Foundation supplies conversion tables from just about every character set on earth to Unicode, and translation of Unicode to utf-8 is simple and mechanical. I suggest that all character code translation be handled on the client side as part of the client library. ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel