Characters / Fonts for other languages having a problem

For example, I just got a large order from Denmark, BUT their name and address has many of the letters messed up and not displayed correctly.



I THANK GOD that I get a copy of the details in Google Checkout where they display correctly.



However, this does mean I can’t currently print the invoice for the customer either.



How can I sort this character issue with the CS Cart shop in the admin and in the customer emails that get sent out?



Cheers,

David

Happend to us too after upgrading from sp3 to sp4



Examples:

Värnamo

Tallåsvägen





Solution, please!

Yes, I can confirm that is a bug somewhere…

Happens to me too after updating to sp4.

In order to fix this bug try to replace the following part of code:


if (elms[i].tagName.toLowerCase() == 'select' && elms[i].multiple == true) {
for (k = 0; k < elms[i].options.length ; k++) {
if (elms[i].options[k].selected == true) {
data += escape(elms[i].name) + '=' + encodeURIComponent(elms[i].options[k].value) + '&';
}
}
} else {
data += escape(elms[i].name) + '=' + encodeURIComponent(elms[i].value) + '&';
}


with this one:


if (elms[i].tagName.toLowerCase() == 'select' && elms[i].multiple == true) {
for (k = 0; k < elms[i].options.length ; k++) {
if (elms[i].options[k].selected == true) {
data += escape(elms[i].name) + '=' + escape(elms[i].options[k].value) + '&';
}
}
} else {
data += escape(elms[i].name) + '=' + escape(elms[i].value) + '&';
}


in the “/classes/scripts/form_scripts.js” file.

Thank you forward.

[quote name=‘DTL’]Thank you forward.[/QUOTE]



Not at all!

Hi all,



I have this problem too, but the above code change did not fix

the strange characters.



Does anybody have another code I can try?