On 01/08/2017 02:52, Jiří Činčura wrote: >> This method changes the connection charset whiling the execute/open >> method is in progress. > What is this good for? >
When an attachment runs external code, it may be in three different "states": - User (client) code (PSQL / SQL) - Plugin management code (it may use user's attachment) - User (server) code called from plugin Each of these states may be completely different beasts, so require customization of connection charset. >> It does not change how parameters are described. >> >> I suppose you can use ExternalEngine::getCharSet to change the default >> charset to map parameters. > You mean IMetadataBuilder, right? > I mean ExternalEngine::getCharSet, the function to set connection charset for plugin management code. If you set charset there, I suppose IMessageMetadata will be already in its charset, but I'm not looking in the code and may be wrong. But of course, you can use IMetadataBuilder. Adriano ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel