On 14-11-2011 20:09, Vlad Khorsun wrote: >> Hello, >> >> I have the following character set (ISO88591) information in the trace >> output: >> >> 2011-10-27T20:58:16.5210 (920:0000000000D4DA30) COMMIT_TRANSACTION >> fbtm_unittest.fdb (ATT_2, FBTM:NONE, ISO88591, TCPv4:127.0.0.1) >> G:\Development\FBTraceManager\svn\trunk\qa\unittest\isql.exe:4520 >> (TRA_5, READ_COMMITTED | NO_REC_VERSION | WAIT | READ_WRITE) >> 10 ms, 15 read(s), 43 write(s), 394 fetch(es), 29 mark(s) >> >> >> While it should be ISO8859_1. Not a big deal, but can this be made >> consistent with character sets available in RDB$CHARACTER_SETS? > > Hmm, interesting... These names come from /intl/cs_narrow.cpp and it seems > they was not changed since IB6 codebase. Probably Adriano knows if we can > change them to be the same as in RDB$CHARACTER_SETS and other places (such > as fbintl.conf). >
These are for debugging purposes and should not be used to correctly externalize a charset name. Charset names are get with MET_get_char_coll_subtype_info (but is not cached currently). There is also options->dpb_lc_ctype, but is probably not available currently. Adriano PS: I see the same problem in ExtDS.cpp ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
