> > OK, you cracked my confidence. The length from metadata is what? > > a) length in bytes of declared field > > b) length in chars of declared field > > c) length of bytes I should read > It's (a).
Bummer. BTW do I get it correctly that using Procedure::getCharSet with hardcoded UTF-8, I'm asking the engine to send me the strings always in UTF-8, right? > From then, you could just consider the parameter is a VARCHAR. Perfect. Thanks. That not only avoided the question of padding, but it also simplified my parsing. Can I also change the DATE field to TIMESTAMP? Just asking, because that would make my code easier as well. -- Mgr. Jiří Činčura Independent IT Specialist ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel