[WB19]String to Unicode

Startbeitrag von Ericus am 01.07.2015 07:18

Hi

Probably due to bad database design on my part I want to convert all the string types in my database tables to Unicode.

Is this as simple as changing the type in the analysis and all is done or are there a lot of other implications in my code?

In the classes I assume I will have to change the string types to Unicode but is there anything else I must be concerned about/

Thanks in advance


Ericus Steyn

Antworten:

Hello Ericus,

there are quite a few things to check.... When you change the type of variables in your analysis to unicode, you have to make sure that the whole processing chain is in unicode too, or you will loose some information at some point ..

So:
- string variables (at least the ones managing data from the DB
- EDIT FIELDS (including table columns)
- report fields (including table columns)
- functions parameters,
- windows parameters
- report parameters

And of course, any type of specific processing relying on having one byte per character

All this has to be either modified or vetted for correct behavior

Best regards

von Fabrice Harari - am 01.07.2015 10:42
Thanks Fabrice

So it is definitely not a day's work.

von Ericus - am 01.07.2015 10:52
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.