Quote:
Originally Posted by MohitG
My questions are as follows:
1. Can someone suggest what impact changing the II_CHARSETII setting may have on the database/application?
|
Non-ASCII (i.e. characters that do not fit into 7 bits) object names and user data may appear corrupted to remote Ingres Net users that are using a different character set to the one (originally) defined on the server.
Collation sequences will not work as expected.
In short changing the charset on the fly is NOT a good idea (and is not supported).
Quote:
Originally Posted by MohitG
2. If ingres isn’t shipped with ISO 885914 is it possible to find out if it is supported?
|
If it is not shiped with the product it is not supported. If you need a specific character set supported I encourage you to log an enhancement request (at servicedesk.ingres.com), you can then talk to product management about this.
Quote:
Originally Posted by MohitG
3. Is unload/reload required after changing the II_CHARSETII setting?
|
Yes along with transcoding, however I would not change the charset, I would migrate to another database installation.
E.g. assume you have installation II with charset = iso-8859-1, create a new installation, say I2 with the required character set, e.g win1252
However you would need to transcode the data before making the transition to the new database/installation. The easiest way to do this is to unload/reload over Ingres Net but I would advise making a call to support and opening a ServiceDesk.ingres.com issue first to understand the implications.
Quote:
Originally Posted by MohitG
4. Can changing of II_CHARSETII cause issues to interface scripts that process text using the operating system?
|
Only if the data changes too, e.g. if you use a different charset name/setting but continue to use the same character set data you used before (i.e. you lie about the charset) you will be OK. This is what Bodo was describing and if you can ensure clients all consistently use the same encoding for data and all CLAIM the same Ingres charset everything will be fine.
One final idea is to use Unicode, Unicode supports (almost) every character/language we have on the planet. The disadvantage is that you may need to make application changes to handle this. Either by using NVARCHAR types (e.g. UCS2 encoding) or by using UTF8 which has some byte/character length semantic issues to deal with.
Chris