gunnl Posted December 3, 2006 Posted December 3, 2006 Hi folks, When I recive an email from contact_us.php Icelandic characters in the 'From' & 'Subject' lines are not showing up correct. Ie. 'á', 'ð' becomes 'X' etc. Can I configure the shop to fix this? If so, what file and line do I need to change? Cheers Gunnlaugur Regards Gunnlaugur
usernamenone Posted December 3, 2006 Posted December 3, 2006 have you changed your language in the language.php file. If you used the english language to translate you would go to includes/languages.english.php and on line 19 @setlocale(LC_TIME, 'en_US.ISO_8859-1'); and change your language from english to your language code. Hi folks, When I recive an email from contact_us.php Icelandic characters in the 'From' & 'Subject' lines are not showing up correct. Ie. 'á', 'ð' becomes 'X' etc. Can I configure the shop to fix this? If so, what file and line do I need to change? Cheers Gunnlaugur
gunnl Posted December 3, 2006 Author Posted December 3, 2006 have you changed your language in the language.php file. If you used the english language to translate you would go to includes/languages.english.php and on line 19 @setlocale(LC_TIME, 'en_US.ISO_8859-1'); and change your language from english to your language code. I tried to change the following language parameters without any luck // look in your $PATH_LOCALE/locale directory for available locales // or type locale -a on the server. // Examples: // on RedHat try 'en_US' // on FreeBSD try 'en_US.ISO_8859-1' // on Windows try 'en', or 'English' @setlocale(LC_TIME, 'en_US.ISO_8859-1'); // charset for web pages and emails define('CHARSET', 'iso-8859-1'); The values I tried, is_IS.iso88591 is_IS.ISO8859-1 is_IS.ISO_8859-1 is_IS.ISO8859-1 Any other suggestions? Cheers Gunnlaugur Regards Gunnlaugur
usernamenone Posted December 3, 2006 Posted December 3, 2006 'en_US needs to be changed needs to be changed to your language code. I do not know what that is
gunnl Posted December 3, 2006 Author Posted December 3, 2006 I tried to change the bold values, @setlocale(LC_TIME, 'en_US.ISO_8859-1'); define('CHARSET', 'iso-8859-1'); These are the values I tried, is_IS.iso88591 is_IS.ISO8859-1 is_IS.ISO_8859-1 is_IS.ISO8859-1 Any other suggestions? Cheers Gunnlaugur Regards Gunnlaugur
usernamenone Posted December 4, 2006 Posted December 4, 2006 One more time. YOU ARE NOT SETTING YOUR LANGUAGE! en_US is for english what is your LANGUAGE code? you will just have to do a search on the internet if you do not know your language code as it would seem no one here knows what your LANGUAGE CODE IS.
gunnl Posted December 4, 2006 Author Posted December 4, 2006 One more time. YOU ARE NOT SETTING YOUR LANGUAGE!en_US is for english what is your LANGUAGE code? you will just have to do a search on the internet if you do not know your language code as it would seem no one here knows what your LANGUAGE CODE IS. I know it's not beeing set correctly, but I have tried to change en_US to is_IS without any luck :( Regards Gunnlaugur
usernamenone Posted December 5, 2006 Posted December 5, 2006 so what is every islandic web designer using as their charset code. while on the internet viewing a web site with islandic words, look at the source code in the browser and see what they use. Do you have to use a language pack for your browser?
gunnl Posted December 6, 2006 Author Posted December 6, 2006 so what is every islandic web designer using as their charset code. while on the internet viewing a web site with islandic words, look at the source code in the browser and see what they use. Do you have to use a language pack for your browser? Some websites are using utf-8 and others iso-8859-1. Regards Gunnlaugur
gunnl Posted December 6, 2006 Author Posted December 6, 2006 The funny thing or not so funny thing is that, all Icelandic characters are showing up correctly except in the 'from' & 'subject' in the e-mail and also on the webpage it self. Regards Gunnlaugur
gunnl Posted December 6, 2006 Author Posted December 6, 2006 The funny thing or not so funny thing is that, all Icelandic characters are showing up correctly except in the 'from' & 'subject' in the e-mail and also on the webpage it self. My last post was misleading. Icelandic characters are being displayed correctly on the webpage itself. Regards Gunnlaugur
Recommended Posts
Archived
This topic is now archived and is closed to further replies.