PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WM] The Unicode component is not available on this platform
[WM] The Unicode component is not available on this platform
Iniciado por guest, 26,feb. 2016 17:35 - 3 respuestas
Publicado el 26,febrero 2016 - 17:35
Hi All,

Greetings!

I need your help for this kind of error:

The Unicode component is not available on this platform.
This component is mainly used for:
- the linguistic sort of Unicode items
- the SQL functions affecting the Unicode strings (UPPER, LOWER, LEAST, GREATEST, INITCAP,...)

Thanks,
Ech
Publicado el 26,febrero 2016 - 17:59
Hi Ech,

More information please...
Some code - what are you trying to do?
What platform?
Publicado el 26,febrero 2016 - 18:16
Hi Darren,

I'm trying to import a CSV file format to HF which has a data value in arabic and I saved it as a UTF-8.
My code :

IF YesNo(1,"This will import the Customer Info?")=Yes THEN
nFileID = fOpen(fExeDir()+"\IMPORT\"+"CustomerMasterFile.csv", foRead)
HDeleteAll(CustomerInfo)
HOpen(CustomerInfo)
HReadLast(CustomerInfo)
WHILE sResRead <> EOT
sResRead = fReadLine(nFileID)


CustomerInfo.CustomerNo = ExtractString(sResRead, 1,",")
CustomerInfo.CustomerName = ExtractString(sResRead, 2,",")
CustomerInfo.ContactPerson = ExtractString(sResRead, 3,",")
CustomerInfo.StmtName = ExtractString(sResRead, 4,",")
CustomerInfo.Address = ExtractString(sResRead, 5,",")
CustomerInfo.PhoneNumber = ExtractString(sResRead, 6,",")
CustomerInfo.MobileNumber = ExtractString(sResRead, 7,",")
HAdd(CustomerInfo)

END

END

I had only encountered this issue when my data are in Arabic, in English its working fine.

Thanks,
Ech
Publicado el 27,febrero 2016 - 15:25
Hi Ech

what PLATFORM? IOS? Android? Windows Mobile?

On What line do you get that error?

I had that error once, for IOS, when writing in HF DB. The reason is that UNICODE KEYS are supported only with some specific settings in IOS (if I remember correctly, generic UNICODE as subtype)

Best regards