Harry
Starting Member
43 Posts Pre-sales questions only (More Details...)
|
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
10525 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
43 Posts Pre-sales questions only (More Details...)
|
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
43 Posts Pre-sales questions only (More Details...)
|
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
230 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>Ä</code>
- ä = <code>ä</code>
- Ö = <code>Ö</code>
- ö = <code>ö</code>
- Ü = <code>Ü</code>
- ü = <code>ü</code>
Edited by - Ratfink11 on 05/20/2025 11:17:16
|
Harry
Starting Member
43 Posts Pre-sales questions only (More Details...)
|
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
43 Posts Pre-sales questions only (More Details...)
|
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
230 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
43 Posts Pre-sales questions only (More Details...)
|
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
230 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
43 Posts Pre-sales questions only (More Details...)
|
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
43 Posts Pre-sales questions only (More Details...)
|
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
43022 Posts |
Posted - 05/21/2025 : 08:03:27
|
Harry
Starting Member
43 Posts Pre-sales questions only (More Details...)
|
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
43022 Posts |
Posted - 05/21/2025 : 22:13:00
|
Harry
Starting Member
43 Posts Pre-sales questions only (More Details...)
|
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
43 Posts Pre-sales questions only (More Details...)
|
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
43022 Posts |
Posted - 05/23/2025 : 02:18:32
|
Harry
Starting Member
43 Posts Pre-sales questions only (More Details...)
|
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
43022 Posts |
Posted - 05/24/2025 : 01:31:06
|
Harry
Starting Member
43 Posts Pre-sales questions only (More Details...)
|
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
|
|