LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
JackDunaway

Support Unicode

Status: Completed

Available in LabVIEW NXG 1.0. Front panel controls and indicators can now properly display Unicode characters.

Support unicode officially for all FP indicators and controls! Captions and string indicators can be "coaxed" into showing Unicode characters (among other controls/indicators), but trees and listboxes (among most others) cannot show Unicode.

 

Of course, this may have a small audience, but anyone who has developed a UI meant to be distributed to half a dozen language-speakers has probably fought the same Unicode battles and figured out the display "hacks" that we have.

 

Unicode!.png

45 Comments
andre2
Member

LabVIEW 2014 is out and still no Unicode support.

We can honestly say that the Unicode technological gap of LabVIEW is practically 15 years now, if you look at other modern programming languages.

Cepera
Member

UTF-8 support is crucial to all applications that get deployed internationally. The "hidden" implementation of Unicode that is currently present in LabVIEW (up to and including LV 2014) is crude and unreliable. Localizing a LabVIEW application with a simple UI is very hard, and when the application has a more extensive UI (clusters, etc.) localization is next to impossible. Ironically, one of the most touted new features in LV 2014 is a new LV icon...

Enrico_Segre
Active Participant

A most annoying (to me) aspect, which seems not to have been mentioned, are the awful cross-platform results. In linux, the few unicode characters supported are represented as UTF8. In windows, as plain ascii. So no surpise thatdegree.png

Enrico_Segre
Active Participant

displays as 123.4°C in linux and 123.4°C in windows, conformly with the ascii representation of ° as #B0 vs the utf8 as #C2B0.

Same problem for common extended ascii symbols like ±µÅ.

 

Enrico_Segre
Active Participant

And equally annoying that this forum doesn't support unicode fully, so that it mangled my first message, maybe as I wrote Å  (the true unicode angstrom symbol). In linux labels or format strings I can't even say "angle α=", but that seems implied by the above posts too.

Cepera
Member

It's been 6 years since the original post by JackDunaway. As of LV 2015, still no official UTF-8 support.

Alhaidar
Member

Hi

I would like to add Arabic Langauge to UI Project, I'm using Linux Inveroment for developing this Application.

I treid under linux, I got empty string, it's seems to be spaces.

and under windows i got rabish charectors.

Any tip will be helpful.

 

 

Labview 8.0, Linux opensuse/Ubunto.

 

 

 

 

Tom_Hawkins
Member

This is way, way overdue!

 

I don't know what the best way to implement it would be - the Python 3 approach is effectively to create a whole new data type for Unicode text as distinct from byte strings, and that would avoid the risk of breaking existing LabVIEW code that assumes all strings consist of one byte per character. 

 

But you don't have to be writing or selling software for a non-English-speaking market to need Unicode - user or customer names and postal addresses could easily contain non-ANSI characters, and Unicode enables the use of scientific and technical symbols that are relevant to many typical LabVIEW applications. And shall I mention emoji? No, let's not mention emoji Smiley LOL

User002
Not applicable
Shame on NI. 2016, still no Unicode support. Go Home! tards!
randol
Member

Still no Unicode support.  Given the age of this request and the number of Kudos I have to wonder if NI simply lacks the capability to implement the needed changes.