On 02/21/2016 06:30 PM, Jiří Činčura wrote:

> What I was asking was the username etc. encoding while doing op_connect
> + op_attach. There the username, plugin name (Srp), SRP key etc. are
> sent.

To be precise - plugin name is expected to be ASCII (at least I've never 
tested what will happen for non-ASCII plugin name).
And SRP key is a hex string (not binary in order to avoid endianess 
issues and different bigint representations) i.e. it's definitely ASCII.

> There's UTF8 flag for DPB? I'm aware of isc_dpb_utf8_filename only, but
> that is only for database path, isn't it? Is it only for FB3?
>

Yes, inside DPB this tag controls charset of all strings, not only 
filename. But you may safely use a fact that in FB3 network protocol all 
strings are always passed in UTF8 encoding, i.e. client always converts 
non-UTF DPB & filename to UTF8 before sending it over the wire. Just 
don't forget to add a tag to DPB in order not to confuse server.



------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to