Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Javascript CSS
sir,
 
i sent danish languge text to another email using C# in that Æ,Å,Ø this word convert to ?,?,?. how to solve this problem?
Posted 19-Nov-12 0:32am
Comments
Krunal R at 19-Nov-12 6:37am
   
Can you show your code ?

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Make sure your MailMessage body encoding is set to 'utf-8'
MailMessage.BodyEncoding[^]
  Permalink  
v2
Comments
__TR__ at 19-Nov-12 7:26am
   
Hi,
The link in your solution was pointing to OP's question, so I changed it to direct to msdn.
Dylan Morley at 19-Nov-12 7:27am
   
Thanks - not sure how I managed that!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,935
1 OriginalGriff 6,987
2 CPallini 5,845
3 George Jonsson 4,015
4 Gihan Liyanage 3,266


Advertise | Privacy | Mobile
Web01 | 2.8.140926.1 | Last Updated 19 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100