Click here to Skip to main content
15,884,810 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Debug is Slow Pin
S. Senthil Kumar12-Aug-05 20:24
S. Senthil Kumar12-Aug-05 20:24 
GeneralRe: Debug is Slow Pin
FTrader17-Aug-05 13:54
FTrader17-Aug-05 13:54 
GeneralGUID generation at run time Pin
namita_jain11-Aug-05 19:44
namita_jain11-Aug-05 19:44 
GeneralRe: GUID generation at run time Pin
[Marc]12-Aug-05 8:14
[Marc]12-Aug-05 8:14 
Questionvb.net Shell() successful? Pin
partt11-Aug-05 7:35
partt11-Aug-05 7:35 
AnswerRe: vb.net Shell() successful? Pin
rwestgraham11-Aug-05 8:08
rwestgraham11-Aug-05 8:08 
GeneralRe: vb.net Shell() successful? RESOLVED Pin
partt11-Aug-05 8:29
partt11-Aug-05 8:29 
QuestionXmlTextReader ignores the 'encoding=...' definition? Pin
Thomas Schittli11-Aug-05 5:16
Thomas Schittli11-Aug-05 5:16 
Good afternoon

XmlTextReader behaves very strange: I have the following
encoding-definition in my (valid) XML-File:

encoding="ISO-8859-1"

If I open the File:

fileStream = new StreamReader (xmlFile);<br />
xmlReader  = new XmlTextReader(fileStream);


an read some values, I can see that the Encoding is set
to "UTF-16" and I don't get all data: XmlTextReader
absorbs non UTF-16 characters.

If I explicit define the Stream-Encoding to:

fileStream = new StreamReader(xmlFile, <br />
                              Encoding.GetEncoding("ISO-8859-1"));


then XmlTextReader works perfect.

Is it wrong to except that XmlTextReader relates it's encoding
to the XML-Definition and not to the stream encoding?
Or: Do I really have to open the xml-file to check the
encoding-property and then to open the xml-file
again using the right stream - encoding?

Thanks a lot for any hint in advance,
kind regards,
thomas


People who wait until the eleventh hour to call on Jesus die at 10:30.
GeneralActiveX Control - Knowing when it's fully Init()ed Pin
mankeyrabbit10-Aug-05 12:16
mankeyrabbit10-Aug-05 12:16 
GeneralError deploying dll Pin
Ajay L S9-Aug-05 21:50
Ajay L S9-Aug-05 21:50 
GeneralCLR Allocation &amp; De - Allocation Pin
mohsin_m9-Aug-05 21:40
mohsin_m9-Aug-05 21:40 
GeneralRe: CLR Allocation &amp; De - Allocation Pin
Ali Sajadian10-Aug-05 1:15
Ali Sajadian10-Aug-05 1:15 
GeneralCalling Search Store Proc have problem Pin
Ali Sajadian9-Aug-05 20:29
Ali Sajadian9-Aug-05 20:29 
GeneralExporting native .Net Data types Pin
mohsin_m8-Aug-05 20:43
mohsin_m8-Aug-05 20:43 
GeneralRe: Exporting native .Net Data types Pin
J4amieC9-Aug-05 1:35
J4amieC9-Aug-05 1:35 
GeneralExporting .Net Data types Pin
mohsin_m8-Aug-05 20:41
mohsin_m8-Aug-05 20:41 
GeneralRe: Exporting .Net Data types Pin
Vasudevan Deepak Kumar8-Aug-05 20:59
Vasudevan Deepak Kumar8-Aug-05 20:59 
GeneralPassing String from DLL to C# Pin
mohsin_m8-Aug-05 20:28
mohsin_m8-Aug-05 20:28 
GeneralRe: Passing String from DLL to C# Pin
Christian Graus11-Aug-05 14:39
protectorChristian Graus11-Aug-05 14:39 
GeneralCalling C++ code from C# Pin
mohsin_m8-Aug-05 20:16
mohsin_m8-Aug-05 20:16 
GeneralRe: Calling C++ code from C# Pin
Mohamad Al Husseiny9-Aug-05 14:00
Mohamad Al Husseiny9-Aug-05 14:00 
GeneralRe: Calling C++ code from C# Pin
Wej Parry15-Aug-05 15:28
Wej Parry15-Aug-05 15:28 
GeneralRe: Calling C++ code from C# Pin
Mohamad Al Husseiny15-Aug-05 16:18
Mohamad Al Husseiny15-Aug-05 16:18 
GeneralRe: Calling C++ code from C# Pin
Wej Parry16-Aug-05 0:09
Wej Parry16-Aug-05 0:09 
Generalcsc problem Pin
Heinz_8-Aug-05 20:11
Heinz_8-Aug-05 20:11 

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.