11-13-2015 02:38 AM
Hi everybody.
Can anyone help me by this situation. I create new font, in extention part of ascii I write some symbols. When I use my created font labview don't display that symbols, in string indicator it display other symbol. For example I riplace A by alfa, but in labview it display A. Or in Ascii 185 code I write delta simbol, but string return other symbol. I attach 3 screenshots.
Thanks in advance.
11-16-2015 08:25 AM
Hi Vaspur,
How are you converting the symbols in your code? It is a little unclear as you are building an array in the For Loop of numbers and then converting them to a String. Is this the code that is not changing in? It seems to me that that is the proper execution of the code you have written.
- Bear
11-16-2015 08:30 AM
Hi vaspur,
do you know the difference between ASCII and UniCode?
Do you know LabVIEW doesn't support UniCode (or "just badly with some not very well documented tricks")?
As can be seen in your screenshot alpha is a UniCode character - with the same LSB as the ASCII "A" character. As your LabVIEW FP just displays ASCII chars you see an "A" instead of alpha…
11-17-2015 01:59 AM
Hi
Thanks for responding. When I change region sentings in English(USA) it's works, but when I using Russian(Russia) it's not work. What's difference? I write symbols in ASCII part, i.e. symbol codes are in 0-255.
Thanks in advance.
11-17-2015 02:03 AM - edited 11-17-2015 02:17 AM
Hi vaspur,
what exactly is "not working"?
What kind of characters do you expect when you use ASCII values upto 255?
Try this:
Please note the extended settings for FontMap tool: using "DOS: Western Europe" seems to show just ASCII chars - the same as can be seen in LabVIEW. Also note: the last line in FontMap shows you the character coding. For ASCII you are limited to all chars available on your keyboard and shown in this line as combination of "Alt + number"…
(This is no LabVIEW stuff, that's basic computer knowledge available in Wikipedia and the Microsoft Windows help!)
11-17-2015 03:13 AM
Hi
My Current system locale is set Russian(Russia). And code return follwing. Where it take russians letters? When I choose Current system locale where labview is take extended letters?
Thanks in advance.
11-17-2015 03:19 AM
11-17-2015 04:20 AM - edited 11-17-2015 04:22 AM
@GerdW wrote:
Hi,
have you tried the character set "DOS: Cyrillic" instead?
Actually you should not use the "DOS: <something>" fonts to compare what LabVIEW uses. The DOS correspond to the so called OEM code tables. LabVIEW as a Windows GUI application uses the ANSI code tables and they correspond to the "Windows: <something>" selections. The OEM code tables are under Windows normally only used by command line tools.
And if you set your local system to Russian you will indeed default to the Cyrillic or some other similar variant of the ANSI code tables in your Windows. You can overwrite what the default for your language setting should be but that will change for all applications what they will show for the extended ASCII codes on your computer.
The difference between OEM and ANSI code tables are usually not very big and contain mostly the same glyphs but not all at the same ASCII code.
11-21-2015 02:09 AM
Hi
Thanks. Windows:Cyrillic in Character Map shows that symbols.
Best regards