473,395 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Non-english text getting transformed.

AC
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #1
8 1177
Which Email client? Outlook 2003 does pretty well with these; I know some third-party mail clients don't handle this as well.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:eA**************@TK2MSFTNGP12.phx.gbl...
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #2
AC
Outlook 2003
"Eric Lawrence [MSFT]" <e_********@hotmail.com> wrote in message news:ez***************@TK2MSFTNGP11.phx.gbl...
Which Email client? Outlook 2003 does pretty well with these; I know some third-party mail clients don't handle this as well.

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:eA**************@TK2MSFTNGP12.phx.gbl...
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #3
have you tried UrlEncode("Encontré una página en el sitio")?

Alexey

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:eA****************@TK2MSFTNGP12.phx.gbl...
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #4
AC
After doing that and looking at the resulting HTML source, it's acutally encoding it to the same stuff that shows in the email.

mailto:[address]?body=Encontré una página en el sitio

Other ideas?
"Alexey Smirnov" <re************@smalig.com> wrote in message news:%2********************@TK2MSFTNGP12.phx.gbl.. .
have you tried UrlEncode("Encontré una página en el sitio")?

Alexey

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:eA****************@TK2MSFTNGP12.phx.gbl...
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #5
I see... perhaps you have UTF-8 by default
Is it right?

try to change web.config to
<globalization requestEncoding="windows-1252" responseEncoding="windows-1252" />

and then it will work

I'm not sure if that encoding have no dramatic impact on your application
But this is the one solution I see at the moment

Alexey

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:%2********************@TK2MSFTNGP10.phx.gbl.. .
After doing that and looking at the resulting HTML source, it's acutally encoding it to the same stuff that shows in the email.

mailto:[address]?body=Encontré una página en el sitio

Other ideas?
"Alexey Smirnov" <re************@smalig.com> wrote in message news:%2********************@TK2MSFTNGP12.phx.gbl.. .
have you tried UrlEncode("Encontré una página en el sitio")?

Alexey

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:eA****************@TK2MSFTNGP12.phx.gbl...
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #6
Deliver the page in UTF-8?

Is this URL available publicly?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:#y**************@TK2MSFTNGP10.phx.gbl...
After doing that and looking at the resulting HTML source, it's acutally encoding it to the same stuff that shows in the email.

mailto:[address]?body=Encontré una página en el sitio

Other ideas?
"Alexey Smirnov" <re************@smalig.com> wrote in message news:%2********************@TK2MSFTNGP12.phx.gbl.. .
have you tried UrlEncode("Encontré una página en el sitio")?

Alexey

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:eA****************@TK2MSFTNGP12.phx.gbl...
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #7
I tried w/ my frontpage w/ diffrent encoding values and got the same result in UTF-8 as he mentioned....

Alexey
"Eric Lawrence [MSFT]" <e_********@hotmail.com> wrote in message news:et**************@TK2MSFTNGP11.phx.gbl...
Deliver the page in UTF-8?

Is this URL available publicly?

--
Thanks,

Eric Lawrence
Program Manager
Assistance and Worldwide Services

This posting is provided "AS IS" with no warranties, and confers no rights.

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:#y**************@TK2MSFTNGP10.phx.gbl...
After doing that and looking at the resulting HTML source, it's acutally encoding it to the same stuff that shows in the email.

mailto:[address]?body=Encontré una página en el sitio

Other ideas?
"Alexey Smirnov" <re************@smalig.com> wrote in message news:%2********************@TK2MSFTNGP12.phx.gbl.. .
have you tried UrlEncode("Encontré una página en el sitio")?

Alexey

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:eA****************@TK2MSFTNGP12.phx.gbl...
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #8
AC
Changing the encoding definately did fix it... however I'm concerned about the rest of the site (it's a Microsoft CMS site). Need to test everything else out there to make sure it's A-OK.

Thanks!
-AC
"Alexey Smirnov" <re************@smalig.com> wrote in message news:Op****************@TK2MSFTNGP09.phx.gbl...
I see... perhaps you have UTF-8 by default
Is it right?

try to change web.config to
<globalization requestEncoding="windows-1252" responseEncoding="windows-1252" />

and then it will work

I'm not sure if that encoding have no dramatic impact on your application
But this is the one solution I see at the moment

Alexey

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:%2********************@TK2MSFTNGP10.phx.gbl.. .
After doing that and looking at the resulting HTML source, it's acutally encoding it to the same stuff that shows in the email.

mailto:[address]?body=Encontré una página en el sitio

Other ideas?
"Alexey Smirnov" <re************@smalig.com> wrote in message news:%2********************@TK2MSFTNGP12.phx.gbl.. .
have you tried UrlEncode("Encontré una página en el sitio")?

Alexey

"AC" <sp**@aNOSPAMMEconnell.com> wrote in message news:eA****************@TK2MSFTNGP12.phx.gbl...
I have a Spanish page that contains a link to send an email (one of those "send this page to someone"). The Hyperlink uses the MailTo:[email address]?subject=something format. It' looks like tihs:

href="mailto:?body=Encontré una página en el sitio

But when the user clicks on the link, they see this in the email body:
Encontré una página en el sitio

It's translating the Spanish characters. I haven't worked much with multilingual sites. No matter what I try... URL/HTML encoding, I keep getting the same thing. Any ideas?
Nov 18 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: lothar | last post by:
re: 4.2.1 Regular Expression Syntax http://docs.python.org/lib/re-syntax.html *?, +?, ?? Adding "?" after the qualifier makes it perform the match in non-greedy or minimal fashion; as few...
5
by: klaus triendl | last post by:
hi, recently i discovered a memory leak in our code; after some investigation i could reduce it to the following problem: return objects of functions are handled as temporary objects, hence...
3
by: Mario | last post by:
Hello, I couldn't find a solution to the following problem (tried google and dejanews), maybe I'm using the wrong keywords? Is there a way to open a file (a linux fifo pipe actually) in...
25
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
32
by: Adrian Herscu | last post by:
Hi all, In which circumstances it is appropriate to declare methods as non-virtual? Thanx, Adrian.
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
14
by: Patrick Kowalzick | last post by:
Dear all, I have an existing piece of code with a struct with some PODs. struct A { int x; int y; };
11
by: ypjofficial | last post by:
Hello All, So far I have been reading that in case of a polymorphic class ( having at least one virtual function in it), the virtual function call get resolved at run time and during that the...
0
by: amitvps | last post by:
Secure Socket Layer is very important and useful for any web application but it brings some problems too with itself. Handling navigation between secure and non-secure pages is one of the cumbersome...
12
by: puzzlecracker | last post by:
is it even possible or/and there is a better alternative to accept input in a nonblocking manner?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.