By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,096 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

Open default mail client - format problems

P: 4
Hi forum,

I use the following code to open the users default mail client with values set in reciever, subject and body fields:

Expand|Select|Wrap|Line Numbers
  1. Dim msg As String = String.Format("mailto:{0}{1}", Uri.EscapeDataString(""), "?")
  2. msg &= String.Format("subject={0}{1}", Uri.EscapeDataString("subject text"), "&")
  3. msg &= String.Format("body={0}", Uri.EscapeDataString("body text"))
  4. System.Diagnostics.Process.Start(msg)
I've testet this with Thunderbird for languages like Thai and Danish and all seems to be working perfectly.

For Outlook (2003) strange things happens. Fx. "", "" and "" are shown as "æ", "ø" and "å".

Should I be using an alternative escape function or does anyone have an idea on how to solve this?
Apr 19 '07 #1
Share this Question
Share on Google+
2 Replies

P: 4
No experts in internation issues like this one?

Maybe someone could guide me to another forum?
May 29 '07 #2

Expert 5K+
P: 7,872
That sounds like a font vs character culture issue. Only thing I could offer is to check your string functions for culture/language settings (or possibly a global project culture setting)
May 29 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.