Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69429

Unicode - again! 不 is showing up as 上, but only if read from a file!

$
0
0

Hi, LabVIEWers:

 

If you've been following some of my posts here (I have no idea why you would, but just in case), you know that a project I am working on is a translation of things from English to unicode.  It's been working fabulous so far, except for one thing.

 

It seems that 不 is consistently showing up as 上 in any text box, caption, etc, etc, but only if I read it from a text file!  It doesn't matter what position it's in, and I tried saving it in notepad (unicode option), notepad ++ (encode in UCS-2 little-endian) and Word (other encoding - Unicode) but it doesn't make a difference.  And when I copy the wrong character and paste it, it really IS the wrong character, like it magically got transformed.

 

If I paste the right character into a any kind of text box, it works fine.  Furthermore, I can wire that text box to anything that accepts a string and it shows up correctly there, too.

 

Here's ther weird thing:

 

As far as I can tell, that's the only character I am having trouble with!!!

 

Anyone have any ideas?

 

Thanks!

 

Oops, LV 2009 SP1.


Viewing all articles
Browse latest Browse all 69429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>