Prev: What happens with encoding when a mail is received
Next: Why is not Encoding.Unicode called Encoding.UTF16
From: Tony Johansson on 3 Jun 2010 07:49 Hi! If I have for example code page 708 that is named ASMO-708 how do I write the code that can dispaly all the code point in this code page ? This code page is some kind of arbisk. //Tony
From: Arne Vajhøj on 3 Jun 2010 18:39
On 03-06-2010 07:49, Tony Johansson wrote: > If I have for example code page 708 that is named ASMO-708 how do I write > the code that can dispaly all the code point in this code page ? > > This code page is some kind of arbisk. Try: byte[] b = new Byte[256]; for(int i = 0; i < b.Length; i++) b[i] = (byte)i; string s = Encoding.GetEncoding(708).GetString(b, 32, 224); MessageBox.Show(s); Arne |