PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → writing arabic string to a text file
writing arabic string to a text file
Débuté par Michaelangelo PADILL, 24 nov. 2019 09:44 - 2 réponses
Membre enregistré
5 messages
Posté le 24 novembre 2019 - 09:44
We have encounter a problem on writing a unicode arabic to a text file. . We have a arabic text saved on a hfsql database with a unicode datatype field then after reading the record we tried to write the text to a text file using fwrite and fwriteline but the output is different? is there a way to preserve or write exactly on a file what is written from a arabic language?
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 25 novembre 2019 - 22:15
Hi

Did you send a test project to PCSoft with this issue?

Maybe they could help you more.

Now your project it's on Android or iOS?
if it is android did you check if your current config of your project it's on UNICODE string?

what version of windev mobile are you using?

--
Best Regards
ARV
Posté le 26 novembre 2019 - 09:19
Hi...

You probably have an ANSI<>UNICODE problem... Arabic should be written in unicode.

So, prepare the whole file in a unicode string in memory, then save it at once using fsaveText. You should get what you need.