From: Peter J. <pj...@wa...> - 2004-02-27 10:30:15
|
Hi Carlos, > > Aren't the system table columns the only UNICODE_FSS columns with length > > in (in bytes) which isn't divisable by three? > > Known by me yes :) > > > Thinking of it, this test isn't really better than testing for RDB$, only > > want to bring it up. > > I'm sorry, i don't understand this, can you explain in another way, > please :) The rather hackish idea is: // Incoming data: n bytes of UNICODE_FSS If (n % 3 == 0) { // extract n/3 UTF-8 characters into destination buffer } else { // copy n bytes into destination buffer } Regards, Peter Jacobi |