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

Selecting Chinese from mysql error:It only returns half of the total length

$
0
0

When the record in the table is "中国好声音“,(its English meaning is" Voice of China"), it just returns”中国?“,and if the record is”方文山方文山“,it just returns ”方文山",it aways returns half of the total length when the record is Chinese. But when the reocrd is English, the result is correct.

 

I use Labview 7.1, MySQL  5.0, and LabSQL. I tried using charset of both GB2312 and UTF-8 in MySQL, it returns the same result.

 

Hoping I can get some help from here, thanks very much!


Viewing all articles
Browse latest Browse all 69365


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