We have a Firebird DB with a large number of tables and data. Which has to support both English and Chinese languages. While retrieving the Chinese data from the DB, the data is automatically converted to some other format like this (è¿åŠ¨åž‹).
Actually, we initially created the DB with the charset 'NONE' and later re-registered it with UTF-8 (to support multiple languages).
Connection string is: $"ServerType=1;User=sysdba;Password=masterkey;Dialect=3;Database={FDBPath};client library=fbclient.dll;Charset=UTF8"
[Server Type: Embedded]
But it is returning the proper data while using the below connection string:
$"ServerType=0;User=sysdba;Password=masterkey;Dialect=3;Database={FDBPath};"
[Server Type: Standalone]
After some research, we came to know that the DB has to be created with UTF-8 charset. But as we have a large amount of data, it is not possible to recreate the DB.
We have a workaround to decode the retrieved data to the Chinese language. But it is not a proper solution for this issue.
So, how to retrieve both language data without any issue?