PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WB19]String to Unicode
[WB19]String to Unicode
Iniciado por guest, 01,jul. 2015 09:18 - 2 respuestas
Publicado el 01,julio 2015 - 09: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
Publicado el 01,julio 2015 - 12:42
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
Publicado el 01,julio 2015 - 12:52
Thanks Fabrice

So it is definitely not a day's work.