aspose file tools*
The moose likes XML and Related Technologies and the fly likes Email: pound symbol is not showing in yahoo domain Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Email: pound symbol is not showing in yahoo domain" Watch "Email: pound symbol is not showing in yahoo domain" New topic
Author

Email: pound symbol is not showing in yahoo domain

kiran kadapa
Greenhorn

Joined: Mar 06, 2013
Posts: 6

Hi
Issue is like this:
In all browsers and in all domains, pound symbol is showing up. In yahoo domain, pound symbol is not showing up.
an xml is taken and xsl is applied and a .html is generated and it is sent as mail.

Ive put some of required part of code("&163semicolon" is replaced by pound in following xsl.), I'm unable to trace what is the issue here.
I've tried with changing encoding="ISO-8859-1", to ISO-8859-15 and even tried with adding meta tag in html too. But didnt work.
One more point is: some other xsl with similar tags is used too for different xml, in that pound symbol is showing up properly in yahoo. The only difference in this xsl from the other one was encoding="" was missing. I added it here. Still didnt work.
Please help.
Thank you.


Thank you
Kiran
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18907
    
    8

I don't understand what "in yahoo domain" means. You mentioned browsers so am I correct in guessing that you are running this XSLT in the browser? If that's the case I don't understand where Yahoo comes into the picture. Could you explain how you are running it?

kiran kadapa
Greenhorn

Joined: Mar 06, 2013
Posts: 6

Paul Clapham wrote:I don't understand what "in yahoo domain" means. You mentioned browsers so am I correct in guessing that you are running this XSLT in the browser? If that's the case I don't understand where Yahoo comes into the picture. Could you explain how you are running it?



when a mail is sent yahoo.com (eg: xyz@yahoo.com) pound is not shown. In other mails like xyz@gmail.com pound symbol is shown...... Email is sent from taking a .html content which is obtained from applying xsltransformation on xml.
There are two types of emails to be sent, there are two xsls that are applied on two different xmls to generate .html files. In one mail, pound symbol is showed properly. In other mail, pound symbol is not displayed in yahoo mail only (i.e in xyz@yahoo.com) the same mail is showing pound symbol properly in xyz@gmail.com I'm stuck here, I don't know how to rectify it. Please help. Thank you
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18907
    
    8

So if I understand it correctly:

1. You use XSLT to generate some output which contains the British pound symbol.

2. You send that output via e-mail.

3. If it's a Yahoo e-mail address, then Yahoo messes up with the pound symbol.

I'm not surprised. I had a similar experience just trying to use the n-tilde character in Yahoo's mail list system. Those other domains are competent, but Yahoo gets it wrong.

To avoid the issue I would change your XSLT to output its result using US-ASCII as its encoding. This should cause everything except for basic ASCII characters to be output as character escapes. I don't know if that will work -- Yahoo still might manage to screw those up as well -- but it's worth a try.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Email: pound symbol is not showing in yahoo domain