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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top