Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Encoding error in activation e-mail
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Encoding error in activation e-mail

 Post Reply Post Reply
Author
TheBas View Drop Down
Newbie
Newbie


Joined: 26 April 2008
Location: Norway
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheBas Quote  Post ReplyReply Direct Link To This Post Topic: Encoding error in activation e-mail
    Posted: 13 December 2010 at 7:25am
Hi!

I have version 9.69 installed and the page encoding is utf-8.

Everything is ok except from the activation e-mail.

With utf-8:
For å aktivere din forum-konto i ADHD Forum klikk på linken under:
With iso-8859-1:
For å aktivere din forum-konto i ADHD Forum klikk på linken under:

It's working with iso-8859-1, but then the rest is NOT good...

What's the problem?
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2010 at 12:46pm
One way around this issue is to locate the text in your language file and change the characters causing the problems to HTML encoding.
Back to Top
TheBas View Drop Down
Newbie
Newbie


Joined: 26 April 2008
Location: Norway
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheBas Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2010 at 1:14pm
Hmm... Not working.

Tried to use å for å, but with no change in the mail.

"For å aktivere din forum-konto..."
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 13 December 2010 at 3:31pm
Is the page encoding set in the includes/setup_options_inc.asp file?

If so then the page encoding should also be included with the email header so the email client knows what character set to encode the email using.

If you use an advanced text editor such as UltraEdit when you do a 'save as' to save the translated language files you can select to save them in a different encoding such as UTF-8 to ensure that the language files are also using the correct encoding.
Back to Top
TheBas View Drop Down
Newbie
Newbie


Joined: 26 April 2008
Location: Norway
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheBas Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2010 at 1:29pm
Hi!

Yes the page encoding is set in the includes/setup_options_inc.asp file...
The email header was utf-8
I tried UltraEdit with no luck.

One solution was to change the function_send_mail.asp file:
.Charset = "iso-8859-1"

I was almost ok...
The text:
Dette er en Test på Æ Ø Å æ ø å

In the mail:
Dette er en Test på Ã? Ã~ Ã. æ ø å

Logic? Nope :-)
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2010 at 2:13pm
The only thing I can think to suggest is change the encoding for your whole forum to iso-8859-1.

It will mean that some posts saved under the old encoding will show incorrectly, but any new posts would be saved under the new encoding.

You may also need to go through the settings in the admin area and re-save them under the new encoding so they also display correctly.
Back to Top
TheBas View Drop Down
Newbie
Newbie


Joined: 26 April 2008
Location: Norway
Status: Offline
Points: 10
Post Options Post Options   Thanks (0) Thanks(0)   Quote TheBas Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2010 at 2:15pm
Maby I'll do that... 

Thanks!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.