unicode datagridview获胜表格 [英] unicode datagridview win forms
问题描述
我在赢表格中的数据网格视图有问题。如果我尝试显示’字符数据网格视图,则会显示一些奇怪的字符。 (&’)
I have problem with data grid view in win forms. If I try to display ' character data grid view displays some weird characters. (‘ & ’)
任何人都知道如何解决此问题以使其显示为'
Anyone knows how to solve this problem to make it display '
推荐答案
您看到的是UTF-8字节序列,其中各个字节以Windows-1252编码显示。
You are seeing the UTF-8 byte sequence with the individual bytes displayed in the Windows-1252 encoding.
,unicode代码点2018和2019分别是左和右单引号。它们的UTF-8表示形式是E28098和E28099。在Windows-1252编码中,字节E2作为重音符号 a 显示,在欧元符号中显示为80,在示例中,对应的最终字符显示为98/99。
More specifically, the unicode codepoints 2018 and 2019 are the left and right single quotation marks respectively. Their UTF-8 representations are E28098 and E28099. In the Windows-1252 encoding the byte E2 is displayed as your accented a character,80 by the Euro symbol, and 98 / 99 displayed by corresponding final characters in your example.
这篇关于unicode datagridview获胜表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!