LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I convert ANSI encoding to UTF-8 encoding

Hi,everybody

 

I want to convert ANSI encoding to UTF-8 encoding, which is used in XML doc display.How can I do it in LabVIEW?

 

Regards,

 

shuiTuan

0 Kudos
Message 1 of 4
(14,924 Views)
You might want to look at the simple ANSI -> Unicode - and Unicode -> ANSI example in the LAVA Code Repository (link)
0 Kudos
Message 2 of 4
(14,888 Views)
Phillip, can you upload example to another sharing? Registration at LAVA have closed and link doesn't work.
0 Kudos
Message 3 of 4
(14,337 Views)

For reading (and writing) UTF-8 encoded files and texts see the VI attached to this message:

http://forums.ni.com/t5/LabVIEW/undocumented-function-quot-text-to-utf-8-quot/m-p/1034616#M460673

 

Greetings,

shb

Message 4 of 4
(13,641 Views)