Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Questions regarding spanish characters

Quote Reply
Questions regarding spanish characters
Hi,

I have a problem sending the newletters.

The newletters are writen in Spanish and created as html. The problem ocurrs with the specific puntuaction marks of spanish such as á, ñ, Ñ, í, ...

Most of the times the newletters are sent without errors, but some (few) times it happens that when I write: "México or when I write "España" it will read "M=9xico" or "Espa=1a".

It even happens that in the same newsletter "México" and "M=9xico" will apear.

Could someone put me on track on where should I search for a solution for this problem?

Thanks in advance.

JoseML
Quote Reply
Re: [JoseML] Questions regarding spanish characters In reply to
It's probably due to the browser changing the character encoding. I believe all the spanish characters are part of ISO-8859-1, so if you just make sure when you save the e-mail template or send, that you're using that character set, and not UTF-8 (or some other character set), then it should send fine.

Adrian
Quote Reply
Re: [brewt] Questions regarding spanish characters In reply to
Thanks Adrian for your answer.

But sorry for my ignorance, where do I change UTF-8 to ISO-8859-1?

Thanks in advance

joseML
Quote Reply
Re: [JoseML] Questions regarding spanish characters In reply to
For IE, View => Encoding => Western (ISO-8859-1)

Adrian
Quote Reply
Re: [brewt] Questions regarding spanish characters In reply to
Is there a way to change something in my server, to fix this?

I was on a shared hosting, and I had not this problem
No I moved to a Dedicated Server, and I am having this problem, strange characters are showing, intead of Spanish

If I go to View => Encoding => Western (ISO-8859-1)

The problem get fixed, but IE change that again, when I browse to another page

But my question, is if there is something to change in my server to fix this, because in my shared hosting, this was not happening

The curious about this, is that in php.ini I uncomment:
default_charset = "iso-8859-1"

anjd
I already installed php-mbstring and is enabled

And my problem gone in other of my pages and scripts, but in my subdomain where I have Gossamer Links, the problem still is on


What could be the cause of this?


Thanks


Last edited by:

tenoch: Jun 2, 2006, 4:57 PM
Quote Reply
Re: [tenoch] Questions regarding spanish characters In reply to
Hi,

Just comment out the line with "utf8" and add the line with "iso-8859-1". If you want to manange the charset on the page, you can comment out both of them.

#AddDefaultCharset UTF-8
#AddDefaultCharset ISO-8859-1

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Post deleted by tenoch In reply to
Quote Reply
Re: [tandat] Questions regarding spanish characters In reply to
I found the solution

In a .htaccess file, I added:

Code:

Options +MultiViews
AddType text/html;charset=iso-8859-1 .html .htm

And all is ok now