01-14-2013 09:17 AM
I can check, but can you tell us which version of LabVIEW you are using? And also, this function might return different results depending on the input text and the system locale of the machine. Are you comparing the differences between the development and the executable versions on the same machine?
01-14-2013 10:10 AM
Same machine (Windows 7 with Labview 11) and same input.
I also tried the exe only on a Windows XP (didn't work).
I haven't debugged the exe, but the rest of the failing code is just ordinary string manipulation functions
01-14-2013 10:31 AM
UTF-8 strings can contain characters that aren't valid ascii. I can imagine that some string operations fail (e.g. format into / scan from string), but I wouldn't expect a difference between development environment and compiled EXE here...
01-14-2013 10:57 AM
That's correct, the EXE works just as well as the Dev version. I attached my tests.
01-15-2013 03:14 AM
Ok, i found the problem with my .exe. The UTF8 function was innocent.
(one more reason to support it!)
Thank you
02-08-2013 08:07 AM
Hi all,
For information, I use the functions included in "UTF8 LV80.vi". The two conversion functions seems to have string length limitations on UNIX OS. If the input string length is upper than 1024 bytes, the following error is generate :
Error 1396 occurred at Text to UTF-8
Possible reason(s):
LabVIEW: Cannot convert text from the source character set to the destination character set.
This limitations don't exist on WINDOWS OS.
Do you see some reasons on this problem?
02-08-2013 09:14 AM
@Matthieu_Poncet wrote:
Hi all,
For information, I use the functions included in "UTF8 LV80.vi". The two conversion functions seems to have string length limitations on UNIX OS. If the input string length is upper than 1024 bytes, the following error is generate :
Error 1396 occurred at Text to UTF-8
Possible reason(s):
LabVIEW: Cannot convert text from the source character set to the destination character set.
This limitations don't exist on WINDOWS OS.
Do you see some reasons on this problem?
I'm not too familiar with these text formats, but can one convert the string 1024 bytes at a time? And then concatenate the result?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
02-08-2013 09:22 AM
That what I do to resolve this feature!
I posted an information post but I'm interested in the reason of this issue.
Anyway thanks for your interest.
Matt
12-15-2015 03:00 AM
u are genius.it helps me a lot.!
10-24-2019 03:05 AM
厉害啊