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
(13,898 Views)
You might want to look at the simple ANSI -> Unicode - and Unicode -> ANSI example in the LAVA Code Repository (link)

Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.

"You are what you don't automate"
Inplaceness is synonymous with insidiousness

0 Kudos
Message 2 of 4
(13,862 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
(13,311 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
(12,615 Views)