I did some research using Google, but could not find the right answer.
I have a Firebird database and I always use my own domains for my tables fields. All of these domains are defined using Charset ISO8859_1. Now I want to change it to UTF8. If I try this in IBExpert, it brings me this code:
ALTER DOMAIN D_CHAR100 TYPE VARCHAR(100) CHARACTER SET UTF8;
This update works. But does it really work? Are all characters converted correctly, and now I changed my fields to “real” UTF8? Or does it stay inside ISO08859_1?
If I search on the internet, some say:
- through a temporary field and copying all the data (a lot of work with large databases)
and others say:
- just change the domain or data type of the field.
What is right? What could go wrong? We have many clients, and I want to convert the database using a script.
source
share