Re: Charset problems Re: Charset problems
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Re: Charset problems

Started by Satyr, December 01, 2005, 05:45:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Satyr

I also have charset problems in e-cards. ö turns to ö...  :o

I have german and unicode activated. Western does also not work. Then the names of the albums and links are corrupted.
With unicode only the comments  before the update. Comments entered after the updates are working correctly.
Really confusing. :(
Kein Support über PN. Bitte im Forum posten, dann ist anderen auch geholfen.

http://www.gothicmodels.net/gothicmodels/gallery/

Testuser: Test23 PW: 123456

fdejaigher

I also have the same problem.

That's really annoying  :(

falconberg

#2
Hello!

I've myself to add to the list of those where all none English (special German chars, Greek) letters get messed up. When I change the character coding of the received ecard in the mail client to UTF-8 it gets o.k.

When looking to the source of the received ecard it's sent with character coding iso-8859-1 and not with UTF-8 which would be necessary. Only the HTML-part is signed correctly with UTF-8. Where does it come from? Is it written by /include/mailer.inc.php or by /include/phpmailer.lang-en.php? Could anyone with better PHP knowledge pleas ehelp.  :-*

Thanks for all your efforts,
Herbert

Nibbler

mailer.inc.php, find


   $mail->AltBody = $msg_body_plaintext;


after, add:


   $mail->CharSet = $charset;

falconberg

That's the solution to send multilingual ecards, works wonderful now - many thanks, Nibbler!!!

Herbert




Nibbler


fdejaigher

Perfect !!!!!!!!!!!!!!

Thanks !!!

EZ

All -

The solution will only work if the receiver's email client supports different charsets. Not all email clients do, in particular many web-based email services.

For guaranteed compatability I recommend to send emails in English using the plain Western chraset.

EZ.