PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WM22 android simulator working but actual device show different
WM22 android simulator working but actual device show different
Débuté par PETER ZHOU, 06 avr. 2018 17:33 - 5 réponses
Posté le 06 avril 2018 - 17:33
Hi,

In the Android simulator, it is showing correctly after EDT_TXT = HTMLToText(HTTPGetResult(httpResult))

But when running in android device, it's showing as chinese chars..

I know it is the UNICODE issue, but i do not remember which function to fix this issue.

Can anyone help me ?

Regards,

PETER ZHOU
Posté le 06 avril 2018 - 17:36
AnsiToUnicode / UnicodeToAnsi
Posté le 06 avril 2018 - 18:16
Quote
Paulo Oliveira

AnsiToUnicode / UnicodeToAnsi

It's still show chinese chars in the android device ( even i use AnsiToUnicode or UnicodeToAnsi )

Regards,

PETER ZHOU
Posté le 06 avril 2018 - 21:38
Go to the configuration of your app and change the unicode to ANSI, you can access the configuration in the right pane almost at the top, and right click it.
Posté le 07 avril 2018 - 10:43
Quote
Luis Antonio Gutiérrez Flores

Go to the configuration of your app and change the unicode to ANSI, you can access the configuration in the right pane almost at the top, and right click it.

Yes, this way it work.Any implication if change to ANSI ?
I will not be using any UNICODE fields in my WM app.

Regards,

PETER ZHOU
Posté le 15 avril 2018 - 22:02
What do you need, what's your code look like?
Try this

UTF8ToUnicode(data)