File Encoding Styles

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi,
I am downloading a GIF file(as a mail attachement) with this file
format, Content-Transfer-Encoding: base64;

Now I am writing the downloaded data to a file with this technique:

streamWriter = new StreamWriter(@startupPath+"\\"+filename, false);
streamWriter.WriteLine(data);

I am not specifying any file Encoding. When I try to open the file
just created with Microsoft Photo Editor, the following error is
given: "Can't determine type.";

I have tried this technique with different file formats, but it worked
only for text-files.

Can someone give some help on how to solve this problem.
Thanks in Advance
.



Relevant Pages

  • Re: Branford Marsalis on "nerd jazz"
    ... NERD JAZZ/NERD WRITING ... Branford described another musician as not being among the "nerd Jazz" ... complete musician in that he not only had the technique down, ... always felt that in my performances I'm still engaging the listener. ...
    (rec.music.makers.guitar.jazz)
  • Re: What makes a "christian"? Rev. Adams is MIA....
    ... ScottW wrote: ... Most people know there is not "a" technique to writing ... determined by the purpose of the writing. ...
    (rec.audio.opinion)
  • Re: What makes a "christian"? Rev. Adams is MIA....
    ... inferring that the Krooborg "was" sick, ... with no purpose well written. ... but most people know that there is a technique to ... Most people know there is not "a" technique to writing but many ...
    (rec.audio.opinion)
  • Re: What makes a "christian"? Rev. Adams is MIA....
    ... psychiatric record. ... with no purpose well written. ... but most people know that there is a technique to ... Most people know there is not "a" technique to writing but many ...
    (rec.audio.opinion)
  • Re: highest literary acclaim OR bucketloads of cash, which?
    ... because you're busy analyzing the technique sort of thing? ... That has nothing to do with his writing. ... care to choose a passage. ... jumped on that hiking trip to the moon. ...
    (misc.writing)