Reply to Re: mail() encoding problems

Your name:

Reply:


Posted by amygdala on 08/23/07 19:27

Manuel Lemos wrote:
> Hello,
>

<snip>

>>
>> But what could be causing my characters to randomly be transformed
>> to UTF-8? Do you have any idea? I don't do it anywhere in my
>> application (except for the test I stated in my first mail)? I've
>> changed everything back to how it was though, and now it still shows
>>
>> test ëèï
>>
>> and sometimes
>>
>> test
>>
>> without me changing anything in the programs code? That is weird,
>> isn't it?
>
> If you use utf8_encode, you transform iso-8859-1 text in utf-8.
>
> Since you only have text in one encoding that only uses 8 bit, utf-8
> is not useful for you.

I understand this. But the point I am trying to bring across, most likely I
wasn't too clear on that, is that I don't use UTF-8 encoding anywhere
anymore. I only used it once or twice, to see if that would solve my
problem. But to be very clear about it: I removed all utf8_encode()
functions, and my code is therefor back to it's usual state. But my problem
remains the same:

Sometimes the unintended

ëèï

sometimes the intended



It seems to happen pretty random.

Therefor I am still stunned as to what could be causing this problem. It
looks as if something (maybe some mail gateway?) is transforming my e-mails
to UTF-8.

Do you have any other idea of what might be going on here? Your insights are
very welcome.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация