Tippler Posted February 18, 2008 Posted February 18, 2008 Im new at osC and hope for some help. I have installed osc on my Linuxserver, Apache 2.2.3 (Debian), MySQL 5.0.32 och PHP 5.2.0. Installation works fine, but when i installed module for swedish characters (Swedish language for 2.2 MS2 (all-in-one)) all swedish specialcharacter just displayed at a scuare and i cant understan why. Check this Picture with swedish character
♥Vger Posted February 18, 2008 Posted February 18, 2008 The Swedish language contains characters which do not exist in the iso-8859-1 (Latin 1) Character Set, and osCommerce is configured to use iso-8859-1 For example, in includes/languages/english.php you'll see: // charset for web pages and emails define('CHARSET', 'iso-8859-1'); Your Swedish language pack must be configured to use utf8, and all pages within the includes/languages/swedish/ folder must be opened and saved in a plain text editor configured to use utf8. Your phpMyAdmin and MySQL default character set must also be utf8 Vger
callenords Posted June 9, 2009 Posted June 9, 2009 Hello, Since å ä ö turns into "?" in for example Swedish reviews, I need to fix this. I just want to make sure that I understand you correct. I need to: 1. In includes/languages/swedish.php change: setlocale(LC_TIME, 'sv_SE.ISO_8859-1'); to setlocale(LC_TIME, 'sv_SE.uft8'); define('CHARSET', 'iso-8859-1'); to define('CHARSET', 'utf-8'); 2. The same in admin/includes/languages/swedish.php ? 3. All pages within the includes/languages/swedish/ folder must be opened and saved in a plain text editor configured to use utf8.? 4. I don't need to make any changes in includes/languages/english.php? It can still be: define('CHARSET', 'iso-8859-1'); etc? Thanks!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.