Special Character Sets
NONE
The character set NONE
is a special character set in Firebird.It can be characterized such that each byte is a part of a string, but the string is stored in the system without any clues about what constitutes any character: character encoding, collation, case, etc. are simply unknown.It is the responsibility of the client application to deal with the data and provide the means to interpret the string of bytes in some way that is meaningful to the application and the human user.
OCTETS
Data in OCTETS
encoding are treated as bytes that may not be interpreted as characters.OCTETS
provides a way to store binary data.The database engine has no concept of what it is meant to do with a string of bytes in OCTETS
, other than store and retrieve it.Again, the client side is responsible for validating the data, presenting them in formats that are meaningful to the application and its users and handling any exceptions arising from decoding and encoding them.CHAR
and VARCHAR
with character set OCTETS
have synonyms BINARY
and VARBINARY
.