Click here to Skip to main content
15,889,266 members
Home / Discussions / C#
   

C#

 
GeneralRe: About charcter code pages Pin
Saksida Bojan2-Dec-09 23:44
Saksida Bojan2-Dec-09 23:44 
GeneralRe: About charcter code pages Pin
bhaskarsgb3-Dec-09 0:49
bhaskarsgb3-Dec-09 0:49 
GeneralRe: About charcter code pages [modified] Pin
Saksida Bojan3-Dec-09 0:53
Saksida Bojan3-Dec-09 0:53 
GeneralRe: About charcter code pages Pin
bhaskarsgb3-Dec-09 7:01
bhaskarsgb3-Dec-09 7:01 
GeneralRe: About charcter code pages Pin
Saksida Bojan3-Dec-09 20:38
Saksida Bojan3-Dec-09 20:38 
GeneralRe: About charcter code pages Pin
bhaskarsgb4-Dec-09 7:01
bhaskarsgb4-Dec-09 7:01 
GeneralRe: About charcter code pages Pin
Saksida Bojan4-Dec-09 8:36
Saksida Bojan4-Dec-09 8:36 
GeneralRe: About charcter code pages Pin
bhaskarsgb4-Dec-09 21:47
bhaskarsgb4-Dec-09 21:47 
Encoding unicode = Encoding.Unicode;
Encoding CodePage850 = Encoding.GetEncoding(850);

// Test character

char c1 = (char)153;
// Convert 153 from Char to array.
byte[] ub1 = Encoding.Unicode.GetBytes(new char[] {c1});

// convert char code 214 from unicode to CodePage850, with a char code 153.
byte[] ub2 = Encoding.Convert(unicode, CodePage850, ub1);


If use char c1 = (char)153;

this case ub2[0] is 63. that is the problem i am facing.
GeneralRe: About charcter code pages Pin
Saksida Bojan4-Dec-09 21:58
Saksida Bojan4-Dec-09 21:58 
AnswerRe: About charcter code pages Pin
Luc Pattyn3-Dec-09 1:06
sitebuilderLuc Pattyn3-Dec-09 1:06 
GeneralRe: About charcter code pages Pin
bhaskarsgb4-Dec-09 7:04
bhaskarsgb4-Dec-09 7:04 
QuestionRender 2d function with 16 bit resolution? Pin
Mark H Bishop2-Dec-09 14:00
Mark H Bishop2-Dec-09 14:00 
AnswerRe: Render 2d function with 16 bit resolution? Pin
Luc Pattyn2-Dec-09 14:17
sitebuilderLuc Pattyn2-Dec-09 14:17 
GeneralRe: Render 2d function with 16 bit resolution? Pin
harold aptroot2-Dec-09 22:33
harold aptroot2-Dec-09 22:33 
Generalmore thoughts Pin
Mark H Bishop3-Dec-09 3:02
Mark H Bishop3-Dec-09 3:02 
GeneralRe: more thoughts Pin
harold aptroot3-Dec-09 4:16
harold aptroot3-Dec-09 4:16 
QuestionHow do I ensure that my thread is ready before my main thread continues ? Pin
abiemann2-Dec-09 12:08
abiemann2-Dec-09 12:08 
AnswerRe: How do I ensure that my thread is ready before my main thread continues ? Pin
Luc Pattyn2-Dec-09 13:04
sitebuilderLuc Pattyn2-Dec-09 13:04 
AnswerRe: How do I ensure that my thread is ready before my main thread continues ? Pin
Alan N2-Dec-09 13:17
Alan N2-Dec-09 13:17 
GeneralRe: How do I ensure that my thread is ready before my main thread continues ? Pin
David Skelly2-Dec-09 22:13
David Skelly2-Dec-09 22:13 
GeneralRe: How do I ensure that my thread is ready before my main thread continues ? Pin
Nicholas Butler2-Dec-09 23:20
sitebuilderNicholas Butler2-Dec-09 23:20 
GeneralRe: How do I ensure that my thread is ready before my main thread continues ? Pin
Alan N3-Dec-09 0:41
Alan N3-Dec-09 0:41 
GeneralRe: How do I ensure that my thread is ready before my main thread continues ? Pin
David Skelly3-Dec-09 4:46
David Skelly3-Dec-09 4:46 
GeneralRe: How do I ensure that my thread is ready before my main thread continues ? Pin
abiemann4-Dec-09 19:51
abiemann4-Dec-09 19:51 
QuestionAccessing ListView edit box Pin
shoelace2-Dec-09 9:48
shoelace2-Dec-09 9:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.