Jon Skeet - Encoding and labelprinters - thanks for your solution

  • Thread starter Thread starter =?ISO-8859-15?Q?Kai_B=F8hli?=
  • Start date Start date
?

=?ISO-8859-15?Q?Kai_B=F8hli?=

Hi Jon !

Your suggestion of encode the entire stream solved the problem !
StreamWriter sw = new StreamWriter(memStrm,Encoding.GetEncoding(850));

Your solution saves me a lot of translating of strings too, and are very
clean too. 850 will cover most of western europe which is more than
enough for our app. This is just great and I'm extremely grateful for
all your help and patience.
 
Kai Bøhli said:
Your suggestion of encode the entire stream solved the problem !
StreamWriter sw = new StreamWriter(memStrm,Encoding.GetEncoding(850));

Your solution saves me a lot of translating of strings too, and are very
clean too. 850 will cover most of western europe which is more than
enough for our app. This is just great and I'm extremely grateful for
all your help and patience.

My pleasure - glad it worked :)
 
Back
Top