Logic Machine Forum
Unicode to ASCII conversion - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Unicode to ASCII conversion (/showthread.php?tid=101)



Unicode to ASCII conversion - buuuudzik - 07.10.2015

Do you know how to convert Unicode to ASCII text? Or how to add Unicode text from variable(non group address) to visualization without conversion?


RE: Unicode to ASCII conversion - admin - 07.10.2015

Visualization uses UTF-8 by default, as for dynamic text display you can use 255-byte string data type. It should work without any conversion.


RE: Unicode to ASCII conversion - buuuudzik - 07.10.2015

(07.10.2015, 13:49)admin Wrote: Visualization uses UTF-8 by default, as for dynamic text display you can use 255-byte string data type. It should work without any conversion.


Where is this type?


RE: Unicode to ASCII conversion - admin - 08.10.2015

Take a look at the attached screenshot, you should set the datatype for object and you don't have to specify it when calling grp.write() or grp.update().


RE: Unicode to ASCII conversion - buuuudzik - 08.10.2015

(08.10.2015, 06:08)admin Wrote: Take a look at the attached screenshot, you should set the datatype for object and you don't have to specify it when calling grp.write() or grp.update().

It works Smile

Great job!