Unicode (Database) <->Non unicode (Application) on the fly conversion
Posted: Mon 22 Oct 2007 12:17
Hi,
I have a following scenario:
There is a MySQL Database which uses UTF8 encoding and is populated by web application which supports this type of encoding. Our application currently doesn't support unicode because of the controls used and we can't easily migrate to other controls.
We need to communicate with the database, read the Unicode data and convert it to Non-unicode to be able to display it correctly. We also need the non-unicode data from the application to be converted into unicode before being written to the database. The application needs to support only one encoding (cp1250) so there will be no loose of data.
Can this task be accomplished using MyDac? Can the data be intercepted and reencoded at this level?
I have a following scenario:
There is a MySQL Database which uses UTF8 encoding and is populated by web application which supports this type of encoding. Our application currently doesn't support unicode because of the controls used and we can't easily migrate to other controls.
We need to communicate with the database, read the Unicode data and convert it to Non-unicode to be able to display it correctly. We also need the non-unicode data from the application to be converted into unicode before being written to the database. The application needs to support only one encoding (cp1250) so there will be no loose of data.
Can this task be accomplished using MyDac? Can the data be intercepted and reencoded at this level?