Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Re: Charset problems  (Read 6755 times)

0 Members and 1 Guest are viewing this topic.

Satyr

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 139
    • Gothic Model Gallery - Dark Photo Art
Re: Charset problems
« on: December 01, 2005, 05:45:10 am »

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. :(
« Last Edit: December 10, 2005, 10:08:19 pm by Nibbler »
Logged
Kein Support über PN. Bitte im Forum posten, dann ist anderen auch geholfen.

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

Testuser: Test23 PW: 123456

fdejaigher

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
    • Chtiland.com
Re: Charset problems
« Reply #1 on: December 02, 2005, 10:51:33 am »

I also have the same problem.

That's really annoying  :(

falconberg

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • liakada.gr
Re: Charset problems
« Reply #2 on: December 10, 2005, 01:29:57 pm »

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
« Last Edit: December 10, 2005, 09:49:01 pm by falconberg »
Logged

Nibbler

  • Guest
Re: Re: Charset problems
« Reply #3 on: December 10, 2005, 01:42:57 pm »

mailer.inc.php, find

Code: [Select]
   $mail->AltBody = $msg_body_plaintext;

after, add:

Code: [Select]
   $mail->CharSet = $charset;
Logged

falconberg

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 2
    • liakada.gr
Re: Charset problems
« Reply #4 on: December 10, 2005, 09:45:26 pm »

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

Herbert



Logged

Nibbler

  • Guest
Re: Re: Charset problems
« Reply #5 on: December 10, 2005, 10:09:16 pm »

Fix committed to CVS.
Logged

fdejaigher

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 16
    • Chtiland.com
Re: Charset problems
« Reply #6 on: December 12, 2005, 10:14:48 am »

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

Thanks !!!

EZ

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 130
Re: Re: Charset problems
« Reply #7 on: December 15, 2005, 12:21:18 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.