PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → writing arabic string to a text file
writing arabic string to a text file
Iniciado por Michaelangelo PADILL, nov., 24 2019 9:44 AM - 2 respostas
Membro registado
5 mensagems
Publicado em novembro, 24 2019 - 9:44 AM
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?
Membro registado
514 mensagems
Publicado em novembro, 25 2019 - 10:15 PM
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
Publicado em novembro, 26 2019 - 9:19 AM
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.