Click here to Skip to main content
16,005,038 members
Home / Discussions / C#
   

C#

 
AnswerRe: VS2005 Addin Pin
topcatalpha13-Feb-07 23:00
topcatalpha13-Feb-07 23:00 
QuestionQuestion about Filling Semi curved shapes Pin
ThetaClear7-Feb-07 4:45
ThetaClear7-Feb-07 4:45 
AnswerRe: Question about Filling Semi curved shapes Pin
Luc Pattyn7-Feb-07 6:25
sitebuilderLuc Pattyn7-Feb-07 6:25 
GeneralRe: Question about Filling Semi curved shapes Pin
ThetaClear7-Feb-07 22:39
ThetaClear7-Feb-07 22:39 
QuestionRemoting problem using multiple clients Pin
Praveen Raghuvanshi7-Feb-07 4:10
professionalPraveen Raghuvanshi7-Feb-07 4:10 
AnswerRe: Remoting problem using multiple clients Pin
led mike7-Feb-07 6:19
led mike7-Feb-07 6:19 
QuestionProblem with ReadLine method! Help wanted! Pin
vitaco7-Feb-07 4:06
vitaco7-Feb-07 4:06 
AnswerRe: Problem with ReadLine method! Help wanted! Pin
m@u7-Feb-07 4:32
m@u7-Feb-07 4:32 
Hi
For some reason, if you initialize a StreamReader with the Constructor Streamreader(string), it will use Encoding.UTF7.
if you want to use russian Encoding, you will have to use Streamreader(string,System.Text.Encoding) Constructor.
if your default Encoding on the PC is the Russion Encoding just do it this way:
<br />
using (StreamReader sr = new StreamReader("c:\\input.txt",System.Text.Encoding.Default))<br />
                {<br />
                    String line;                    // Read and display lines from the file until the end of<br />
                     // the file is reached.<br />
                    while ((line = sr.ReadLine()) != null)<br />
                    {<br />
                        Console.WriteLine(line);<br />
                    }<br />
                }<br />

otherwise you can Create an Encoding with the appropriate Codepage ID

Greets
M@u
GeneralRe: Problem with ReadLine method! Help wanted! Pin
vitaco7-Feb-07 18:38
vitaco7-Feb-07 18:38 
GeneralRe: Problem with ReadLine method! Help wanted! Pin
m@u7-Feb-07 20:44
m@u7-Feb-07 20:44 
GeneralRe: Problem with ReadLine method! Help wanted! Pin
vitaco7-Feb-07 21:12
vitaco7-Feb-07 21:12 
QuestionQueue performance Pin
Bekjong7-Feb-07 2:48
Bekjong7-Feb-07 2:48 
AnswerRe: Queue performance Pin
Marc Clifton7-Feb-07 3:29
mvaMarc Clifton7-Feb-07 3:29 
GeneralRe: Queue performance Pin
Bekjong7-Feb-07 3:34
Bekjong7-Feb-07 3:34 
AnswerRe: Queue performance Pin
Guffa7-Feb-07 3:31
Guffa7-Feb-07 3:31 
GeneralRe: Queue performance Pin
Bekjong7-Feb-07 3:40
Bekjong7-Feb-07 3:40 
GeneralRe: Queue performance Pin
Guffa7-Feb-07 6:17
Guffa7-Feb-07 6:17 
GeneralRe: Queue performance Pin
Luc Pattyn7-Feb-07 6:39
sitebuilderLuc Pattyn7-Feb-07 6:39 
GeneralRe: Queue performance Pin
Not Active7-Feb-07 7:04
mentorNot Active7-Feb-07 7:04 
GeneralRe: Queue performance Pin
Bekjong7-Feb-07 22:37
Bekjong7-Feb-07 22:37 
AnswerRe: Queue performance Pin
Luc Pattyn7-Feb-07 7:45
sitebuilderLuc Pattyn7-Feb-07 7:45 
GeneralRe: Queue performance Pin
Bekjong7-Feb-07 22:38
Bekjong7-Feb-07 22:38 
QuestionMaster Deatil relationship in one grid Pin
idreesbadshah7-Feb-07 2:37
idreesbadshah7-Feb-07 2:37 
AnswerRe: Master Deatil relationship in one grid Pin
Not Active7-Feb-07 3:26
mentorNot Active7-Feb-07 3:26 
GeneralRe: Master Deatil relationship in one grid Pin
idreesbadshah7-Feb-07 18:17
idreesbadshah7-Feb-07 18:17 

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.