Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 6 Monaten, 1 Woche
Letzter Beitrag:
vor 6 Monaten
Beteiligte Autoren:
Yogi Yang, Peter Holemans, Fabrice Harari

[WD20] - What to select from Character set for...

Startbeitrag von Yogi Yang am 16.12.2017 14:24

Hello,

I have a need to build an app in WD20. This app will have to allow user to enter data in Unicode and show various static information in Unicode also.

So for this what should I set the Project Description -> Languages -> Character set for the ANSI configurations to?

The languages (Hindi/Gujarati) that needs to be supported are not there in the combo box so should I select...



???

TIA

Antworten:

Hi

the FIRST thing to do is to go in the project CONFIGURATION (not settings), go on the ansi/unicode tab and select UNICODE. this way all strings and text fields are by default in unicode.

Best regards

von Fabrice Harari - am 16.12.2017 14:47
Thanks Fabrice. That is what I was trying to understand and solve.

When placing/creating controls do I have to set them to be UNICODE also or will they be set to UNICODE automatically?

TIA

von Yogi Yang - am 18.12.2017 03:55
Hi YY,

Haven't touched WX in a while but have done everything in WX in Unicode since V17.
All will be done automatically when changing your configuration to Unicode unless you explicitely declared a string variable or control as ANSI.

In the Analysis there is also an option somewhere to convert all string/text memo fields of the database to Unicode as well.
This way the data will be stored in Unicode format as well. If there is a language selection to make in here when choosing Unicode, choose something like 'binary' or 'system'. This makes the indexes independent of a specific alphabet.

I would recommend any new or recent project in Unicode anyhow.
Who's still doing ANSI these days if you have a look around?
Sure, Unicode eats up some additional storage but that can no longer be an obstacle compared to all the benefits.

Cheers,

Peter H.

von Peter Holemans - am 18.12.2017 07:28
Hello Peter,

Thanks for your valuable inputs.

I will try to find the command that will convert all the string fields from ANSI to Unicode.

From I got the idea that I will have to set the data type of fields to support Unicode while the rest will be automatically be to handle Unicode by WD's IDE.

TIA

von Yogi Yang - am 19.12.2017 03:33
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.