L
Long Pham
Hi Group,
I have some data stored in my DB in as Big5 and GB2312 character sets.
I need to be able to decode that to unciode UTF8 so that I can display it
those characters.
I have tried the following but the output does not seem correct according to
some reference web sites I have seen.
string inputBig5 = "¨¬²y";
Encoding big5Encoding = Encoding.GetEncoding("big5");
byte[] bytes = big5Encoding.GetBytes(inputBig5);
Encoding utf8Encoding = Encoding.UTF8;
string output = unicodeEncoding.GetString(bytes);
TIA!
I have some data stored in my DB in as Big5 and GB2312 character sets.
I need to be able to decode that to unciode UTF8 so that I can display it
those characters.
I have tried the following but the output does not seem correct according to
some reference web sites I have seen.
string inputBig5 = "¨¬²y";
Encoding big5Encoding = Encoding.GetEncoding("big5");
byte[] bytes = big5Encoding.GetBytes(inputBig5);
Encoding utf8Encoding = Encoding.UTF8;
string output = unicodeEncoding.GetString(bytes);
TIA!