Subject | Re: [firebird-support] understanding characters sets |
---|---|
Author | Dean Harding |
Post date | 2008-08-15T07:39:19Z |
Kjell Rilbe wrote:
the rest of the text, it seems that's not the case. Particularly the
answer to the "How does transliteration work?" question implies that as
long as the data you pass over the connection conforms to the
connection's character set, it will be transliterated to whatever
character set is specified for the column.
Personally, I think everybody should use UTF-8 only and be done with it :-)
Dean.
> > Strings are written to the database using the defined character set,I agree that particular paragraph does seem to imply that, but reading
> > which will be either the default character set defined for the database
> > or, if present, the character set defined for the column they are
> > written to. For string data to be transliterated correctly for both
> > writing and reading, the connection character set must be the same as
> > the destination character set.
>
> I do not fully understand this.
>
> It sounds as if I have a column with e.g. UTF8, then I must connect with
> UTF8 for transliteration to work correctly.
the rest of the text, it seems that's not the case. Particularly the
answer to the "How does transliteration work?" question implies that as
long as the data you pass over the connection conforms to the
connection's character set, it will be transliterated to whatever
character set is specified for the column.
Personally, I think everybody should use UTF-8 only and be done with it :-)
Dean.