Click here to Skip to main content
15,893,508 members
Home / Discussions / C#
   

C#

 
GeneralRe: Want to make a good C# window Application Pin
Heath Stewart4-Aug-04 5:00
protectorHeath Stewart4-Aug-04 5:00 
GeneralMenuItem adding and removing at run time Pin
StephenMcAllister30-Jul-04 15:10
StephenMcAllister30-Jul-04 15:10 
GeneralRe: MenuItem adding and removing at run time Pin
Heath Stewart30-Jul-04 19:19
protectorHeath Stewart30-Jul-04 19:19 
GeneralDisabling Mouse wheel scrolling - Scenario Pin
Tristan Rhodes30-Jul-04 14:16
Tristan Rhodes30-Jul-04 14:16 
GeneralRe: Disabling Mouse wheel scrolling - Scenario Pin
Heath Stewart30-Jul-04 19:08
protectorHeath Stewart30-Jul-04 19:08 
GeneralMessage pump exception catching Pin
Hugo Hallman30-Jul-04 13:21
Hugo Hallman30-Jul-04 13:21 
GeneralRe: Message pump exception catching Pin
Heath Stewart30-Jul-04 19:06
protectorHeath Stewart30-Jul-04 19:06 
GeneralApplication displaying Japanese, German, and English text. Pin
jerrycainjr30-Jul-04 12:28
jerrycainjr30-Jul-04 12:28 
I'm working on some translation software that integrates third-party translation components, and the component sed to handle Japanese uses a non-Unicode encoding (Shift-JIS, for those in the know) that doesn't mashal all that easier to one of the stanford encodings supported by .NET. As a result, I need to open the Languages control panel and coach XP to assume that all non-Unicode text should be interpreted as Japanese.

However, when Japanese is selected, .NET strings that I think are storing German words don't display properly.

char umlautedU = 0x00FC;
char eszet = 0x00DF;
StringBuilder builder = new StringBuilder();
builder.Append("Schl");
builder.Append(umlautedU);
builder.Append(eszet);
Console.WriteLine(builder.ToString());

prints out Schlus to the console, although it DOES print out SchluB (where the u is really an umlauted u and B is the eszet which looks like the scripted capital B) just fine when the language for non-Unicode applications is set to English.

I'd always assumed that .NET strings printed correctly regardless of OS settings and the OS's treatment of non-Unicode strings. Anyone have any idea how to print German regardless of the language setting?

Thanks for your help,
Jerry Cain
jerry@cs.stanford.edu
GeneralRe: Application displaying Japanese, German, and English text. Pin
Heath Stewart30-Jul-04 12:59
protectorHeath Stewart30-Jul-04 12:59 
GeneralHighlighting a object selected & dynamic resizing Pin
smartyosu30-Jul-04 12:18
smartyosu30-Jul-04 12:18 
Generaltab control problem Pin
blankg30-Jul-04 10:59
blankg30-Jul-04 10:59 
Generaldifferentiating between MouseDown and single click Pin
smartyosu30-Jul-04 9:28
smartyosu30-Jul-04 9:28 
GeneralRe: differentiating between MouseDown and single click Pin
Heath Stewart30-Jul-04 9:32
protectorHeath Stewart30-Jul-04 9:32 
GeneralEvent Handler Pin
eggie530-Jul-04 7:42
eggie530-Jul-04 7:42 
GeneralRe: Event Handler Pin
Heath Stewart30-Jul-04 8:25
protectorHeath Stewart30-Jul-04 8:25 
QuestionWhere is the Activitybar? Pin
matthias s.30-Jul-04 4:36
matthias s.30-Jul-04 4:36 
Questionhow can i navigate between controls on a form using enter key in c# Pin
ch_faf30-Jul-04 4:01
ch_faf30-Jul-04 4:01 
AnswerRe: how can i navigate between controls on a form using enter key in c# Pin
Michael P Butler30-Jul-04 4:21
Michael P Butler30-Jul-04 4:21 
AnswerRe: how can i navigate between controls on a form using enter key in c# Pin
Heath Stewart30-Jul-04 7:36
protectorHeath Stewart30-Jul-04 7:36 
GeneralArray´s via reflection... Pin
Norman-Timo30-Jul-04 3:09
Norman-Timo30-Jul-04 3:09 
GeneralRe: Array´s via reflection... Pin
leppie30-Jul-04 7:30
leppie30-Jul-04 7:30 
GeneralRe: Array´s via reflection... Pin
Norman-Timo1-Aug-04 19:42
Norman-Timo1-Aug-04 19:42 
GeneralConsole.writeline not working from a windows app. Pin
Admiral Ackbar30-Jul-04 3:00
Admiral Ackbar30-Jul-04 3:00 
GeneralRe: Console.writeline not working from a windows app. Pin
Wender Oliveira30-Jul-04 4:41
Wender Oliveira30-Jul-04 4:41 
GeneralRe: Console.writeline not working from a windows app. Pin
Michael P Butler30-Jul-04 4:54
Michael P Butler30-Jul-04 4:54 

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.