T
Tony Johansson
Hi!
When I run this code below I get square boxes for some code point what does
this mean. ?
I get square boxes for chinese/japanese and some other.
I would say that when the code page exist why is not windows able to display
the character for this code point.
Is it because of the driver to the screen does not support these characters.
I'm just curious ?
byte[] b = new Byte[256];
for (int i = 0; i < b.Length; i++)
b = (byte)i;
EncodingInfo[] ei = Encoding.GetEncodings();
foreach(EncodingInfo e in ei)
{
string s = Encoding.GetEncoding(e.CodePage).GetString(b, 32,
224);
MessageBox.Show(e.DisplayName);
MessageBox.Show(s);
}
//Tony
When I run this code below I get square boxes for some code point what does
this mean. ?
I get square boxes for chinese/japanese and some other.
I would say that when the code page exist why is not windows able to display
the character for this code point.
Is it because of the driver to the screen does not support these characters.
I'm just curious ?
byte[] b = new Byte[256];
for (int i = 0; i < b.Length; i++)
b = (byte)i;
EncodingInfo[] ei = Encoding.GetEncodings();
foreach(EncodingInfo e in ei)
{
string s = Encoding.GetEncoding(e.CodePage).GetString(b, 32,
224);
MessageBox.Show(e.DisplayName);
MessageBox.Show(s);
}
//Tony