Language problem of sending newsletter

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
eggidea
Posts: 23
Joined: Fri 11. Jun 2004, 09:26

Language problem of sending newsletter

Post by eggidea »

Hello

I would like to send out newsletter in chinese (BIG5) and I found that I need to change the encoding to BIG5 then can view the email, and my questions is :

1. Can I edit any file that can let html know the charset is big5 (though i put the charset tag in html, seem not work)

I knew there should relate to the header thing when send out the email, do u know how to solve this?

thanks a million!
User avatar
Oliver Georgi
Site Admin
Posts: 9936
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

I have absolutely no experience in using BIG5 - maybe it could help setting default charset in conf.inc.php to BIG5. Try it - it's difficult for me to check locally.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
eggidea
Posts: 23
Joined: Fri 11. Jun 2004, 09:26

Post by eggidea »

hi oliver,

I set it already, I mean can you tell me which files have those send mail header code?

thank you so much
User avatar
Oliver Georgi
Site Admin
Posts: 9936
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

Update: This answer was shit ;-) I have to read better.
//Have you checked translated formamailer html files?//

Oliver
Last edited by Oliver Georgi on Thu 24. Jun 2004, 21:25, edited 1 time in total.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
User avatar
Oliver Georgi
Site Admin
Posts: 9936
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

Has to be enhanced - or you patch the act_sendnewsletter.php - around line 185 add something like this:

Code: Select all

$mail->CharSet = 'big5';
maybe also neccessary to change encoding:

Code: Select all

$mail->Encoding = '7bit';
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
eggidea
Posts: 23
Joined: Fri 11. Jun 2004, 09:26

Post by eggidea »

Hello Oliver,

You are really helpful, i have to say ur program rule! and I did the following change:

In / include / inc_ext / phpmailer /class.phpmailer.php
Code:
var $CharSet = "big5";
thank you so much!
User avatar
Oliver Georgi
Site Admin
Posts: 9936
Joined: Fri 3. Oct 2003, 22:22
Location: Dessau-Roßlau
Contact:

Post by Oliver Georgi »

OK - same - but then it is default ;-)

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn
Post Reply