Click here to Skip to main content
15,917,991 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need to write a file to a server farm that is locked down by a ProcessID - this can't be THAT hard Pin
Alaric_4-May-10 6:59
professionalAlaric_4-May-10 6:59 
Questioni wait so much because of loops Pin
karayel_kara3-May-10 3:30
karayel_kara3-May-10 3:30 
AnswerRe: i wait so much because of loops Pin
Luc Pattyn3-May-10 3:49
sitebuilderLuc Pattyn3-May-10 3:49 
AnswerRe: i wait so much because of loops Pin
Michel Godfroid3-May-10 4:04
Michel Godfroid3-May-10 4:04 
GeneralRe: i wait so much because of loops PinPopular
Luc Pattyn3-May-10 4:09
sitebuilderLuc Pattyn3-May-10 4:09 
AnswerRe: i wait so much because of loops [modified] Pin
William Winner3-May-10 8:15
William Winner3-May-10 8:15 
AnswerRe: i wait so much because of loops Pin
Pete O'Hanlon3-May-10 8:24
mvePete O'Hanlon3-May-10 8:24 
GeneralRe: i wait so much because of loops Pin
harold aptroot3-May-10 8:43
harold aptroot3-May-10 8:43 
GeneralRe: i wait so much because of loops Pin
Pete O'Hanlon3-May-10 8:56
mvePete O'Hanlon3-May-10 8:56 
GeneralRe: i wait so much because of loops [modified] Pin
Luc Pattyn3-May-10 9:28
sitebuilderLuc Pattyn3-May-10 9:28 
GeneralRe: i wait so much because of loops Pin
harold aptroot3-May-10 10:14
harold aptroot3-May-10 10:14 
GeneralRe: i wait so much because of loops Pin
Luc Pattyn3-May-10 10:16
sitebuilderLuc Pattyn3-May-10 10:16 
GeneralRe: i wait so much because of loops Pin
harold aptroot3-May-10 10:31
harold aptroot3-May-10 10:31 
GeneralRe: i wait so much because of loops Pin
Luc Pattyn3-May-10 10:36
sitebuilderLuc Pattyn3-May-10 10:36 
GeneralRe: i wait so much because of loops Pin
harold aptroot3-May-10 10:42
harold aptroot3-May-10 10:42 
GeneralRe: i wait so much because of loops Pin
Luc Pattyn3-May-10 10:56
sitebuilderLuc Pattyn3-May-10 10:56 
AnswerRe: i wait so much because of loops Pin
Pete O'Hanlon3-May-10 10:47
mvePete O'Hanlon3-May-10 10:47 
GeneralRe: i wait so much because of loops Pin
Luc Pattyn3-May-10 11:05
sitebuilderLuc Pattyn3-May-10 11:05 
GeneralRe: i wait so much because of loops Pin
Pete O'Hanlon3-May-10 11:16
mvePete O'Hanlon3-May-10 11:16 
GeneralRe: i wait so much because of loops Pin
Luc Pattyn3-May-10 11:26
sitebuilderLuc Pattyn3-May-10 11:26 
GeneralRe: i wait so much because of loops Pin
Pete O'Hanlon3-May-10 11:23
mvePete O'Hanlon3-May-10 11:23 
GeneralRe: i wait so much because of loops Pin
Luc Pattyn3-May-10 11:27
sitebuilderLuc Pattyn3-May-10 11:27 
GeneralRe: i wait so much because of loops Pin
karayel_kara4-May-10 3:52
karayel_kara4-May-10 3:52 
GeneralRe: i wait so much because of loops Pin
Luc Pattyn4-May-10 4:18
sitebuilderLuc Pattyn4-May-10 4:18 
QuestionMissing special symbols Pin
Sebastian T Xavier3-May-10 1:29
Sebastian T Xavier3-May-10 1:29 
Hello,

I was trying to get the content of a file in a string. I have used the following code ...
String strContent = "";
FileStream flDoc = new FileStream(m_tbxBrowser.Text, FileMode.Open, FileAccess.Read);
Byte[] bytContent = new Byte[flDoc.Length];
flDoc.Read(bytContent, 0, Convert.ToInt32(flDoc.Length));
strContent = System.Text.ASCIIEncoding.ASCII.GetString(bytContent);


But in the output, strContect some special symbols like
®
is missing, and is replaced by
???

Can anyone help me to solve this? Thanks in advance.
Sebastian

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.