Subject | Re: [firebird-support] Re: usable characters for varchar and memos |
---|---|
Author | Nando Dessena |
Post date | 2008-01-30T18:39:07Z |
Ann,
A> Octets will allow 0x0 bytes, and that's what I would
A> use for encrypted data. The fact that zeros are the pad
A> character doesn't matter - most character sets use space
A> as a pad - that doesn't make space an illegal character.
correct. But it makes a significant 0 at the end of a string
impossible to store. I don't know if that's an issue in Ed's case. I
have seen he is using char(). Perhaps his encrypted strings are all of
the same length.
Ciao
--
Nando Dessena
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================
A> Octets will allow 0x0 bytes, and that's what I would
A> use for encrypted data. The fact that zeros are the pad
A> character doesn't matter - most character sets use space
A> as a pad - that doesn't make space an illegal character.
correct. But it makes a significant 0 at the end of a string
impossible to store. I don't know if that's an issue in Ed's case. I
have seen he is using char(). Perhaps his encrypted strings are all of
the same length.
Ciao
--
Nando Dessena
======================================================
I support Firebird, I am a Firebird Foundation member!
Join today at http://www.firebirdsql.org/ff/foundation
======================================================