Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Next Page
Author    Topic »
Page: of 2

Harry
Starting Member

38 Posts

Posted - 05/20/2025 :  09:16:01  
Hello,
Im using the ASP 7.7.8 version and added some static content in the email that is sent to the store owner and customer. The email is received correctly but the german special characters do not appear correctly, in the subject and also in the message body.

In the includes.asp i have these 2 lines:
adminencoding="utf-8"
emailencoding="utf-8"

In the admin, email messages, ihave this as subject: "Herzlichen Dank für Ihren Auftrag!" but in the email received, it shows: "Herzlichen Dank für Ihren Auftrag!"

same weird characters in the body.

Can you please advice how to fix this issue??

Thanking you in advance

Best regards,
Harry

dbdave
ECT Moderator

USA
10506 Posts

Posted - 05/20/2025 :  09:28:13  
Have you copied and pasted that text from another source, or you typed it in.
We see this when we have copied from another document.
Thanks,
David

Harry
Starting Member

38 Posts

Posted - 05/20/2025 :  09:40:08  
Hi Dave,
thanks for prompt reply. I did past it from Word, now i did directly from notepad++ but still same issue

Harry
Starting Member

38 Posts

Posted - 05/20/2025 :  10:26:55  
Hello,
I now typed in directly the german characters. still doesnt work! please help...i cannot go live like this

Ratfink11
Advanced Member

USA
201 Posts

Posted - 05/20/2025 :  10:46:33  
Are these the Umlaut Charactures?
Sounds like It may be related to a Font issue.
Might try using Notepad to test instead of ++
Or try type every characture.



  • Ä = <code>&Auml;</code>

  • ä = <code>&auml;</code>

  • Ö = <code>&Ouml;</code>

  • ö = <code>&ouml;</code>

  • Ü = <code>&Uuml;</code>

  • ü = <code>&uuml;</code>






Edited by - Ratfink11 on 05/20/2025 11:17:16

Harry
Starting Member

38 Posts

Posted - 05/20/2025 :  10:55:24  
I tried the basic notepad, notepad++, even typed german and portuguese characters directly from keyboard.
They all come weird characters

Harry
Starting Member

38 Posts

Posted - 05/20/2025 :  11:06:01  
in the MySQL database, even if i typed in the Umlaut Characters and portuguese ones, i get this in the emailmessages table:

Herzlichen Dank für Ihren Auftrag!ç

this should read: Herzlichen Dank für Ihren Auftrag!ç
the last, portuguese character is for testing.



Ratfink11
Advanced Member

USA
201 Posts

Posted - 05/20/2025 :  11:20:42  
Can you try to type charactures by Code? listed in my post prior to this?







Edited by - Ratfink11 on 05/20/2025 11:35:54

Harry
Starting Member

38 Posts

Posted - 05/20/2025 :  11:25:50  
i got this: Herzlichen Dank fÄr Ihren Auftrag!

and sorry, but this is not a solution to give to my german customer. so, each time he has to put special or html entities instead of his own alphabet??? i cannot tell him, if you want to have ö, then type: <code>ö</code>.

Correct???


Ratfink11
Advanced Member

USA
201 Posts

Posted - 05/20/2025 :  11:31:08  
Typing each characture was a test to see if it would work. Troubleshooting.

Could be the configuration of the browser.
May need to force browser to use UTF-8 using .htaccess.

I cant think of anything else at the moment if this doesnt work.

Others should reply.

Harry
Starting Member

38 Posts

Posted - 05/20/2025 :  11:34:50  
or it is the actual script that sends out the emails and is using different encoding. Do we know which file is called? ASP version

i'm waiting for one of the platform owners/coders to reply and sort this issue

Edited by - Harry on 05/20/2025 12:51:09

Harry
Starting Member

38 Posts

Posted - 05/21/2025 :  06:09:13  
i fixed the issue...
i added this in includes.asp

adminencoding = "ISO-8859-1"
emailencoding = "ISO-8859-1"

Now, the german special characters are sent correctly in the email

Vince
Administrator

42982 Posts

Posted - 05/21/2025 :  08:03:27  
Hi Harry
If you have your site in UTF-8 which is more than likely that you do then it's probably not a good idea to set the adminencoding to iso-8859-1 and you may find that products displayed on the site have the special characters mangled now. I think what this may be is that you need to set the charset in the HTML email header. But do you want to go back to UTF-8 or stick with iso-8859-1 ?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Harry
Starting Member

38 Posts

Posted - 05/21/2025 :  21:54:03  
Hello Vince

yes i would prefer to use utf-8.... how can we solve the issue with the email using utf-8 as admin and email encoding??

thank you

Vince
Administrator

42982 Posts

Posted - 05/21/2025 :  22:13:00  
Hi Harry
Assuming you are sending HTML emails could you include this in the <head> section of the email...

<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Harry
Starting Member

38 Posts

Posted - 05/22/2025 :  04:16:12  
Hello Vince,

I added the line in code mode, encoding is back to utf-8, html email is enabled...i still dont see the german special characters. When i go back to the email messages, i dont see the line i added anymore:
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">

when you click submit, the meta line is ignored.

Edited by - Harry on 05/22/2025 04:20:46

Harry
Starting Member

38 Posts

Posted - 05/23/2025 :  01:15:18  
Hello Vince,
I am using froala editor by the way. I removed it, then saved the email message with the meta line (this time i can see the line is in there), but still the german characters are not showing correctly. I enabled froala editor now cause the owner is using it for the products description.

What else can we try??

thanks

Vince
Administrator

42982 Posts

Posted - 05/23/2025 :  02:18:32  
Hi Harry
Ok, could you make sure the content-type line is set and then send the email to me at vince AT ecommercetemplates DOT com and I'll see what's up with it.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Harry
Starting Member

38 Posts

Posted - 05/23/2025 :  02:36:52  
I have just sent you the email...im using the Email Headers / Footers (2nd button) in Email Messages Administration

Vince
Administrator

42982 Posts

Posted - 05/24/2025 :  01:31:06  
Hi Harry
Can you please try adding these two lines to your vsadmin/includes.asp file and first, make sure all your product pages are ok and then try another email test...

response.charset="utf-8"
response.codepage=65001

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Harry
Starting Member

38 Posts

Posted - 05/24/2025 :  01:40:04  
Hi Vince,

I tried those 2 lines, it messes up the german characters on the front end.
Also, i added the meta line in the incemail.asp file, i saw in the source that it was included in the <head> section, still the characters were not showing correctly
Page: of 2    Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000