Forums / General Questions / Greek character sets

Greek character sets

Views: 1,021

Results 1 to 3 of 3
17 Jul 2011, 12:36 PM
#1
andreasy avatar

andreasy

New Zenner

Join Date:
Aug 2010
Posts:
54
Plugin Contributions:
0

Greek character sets

Zen Cart Ver. v1.3.9h
Greek Lang. Pack installed

After a big fight at initial setup about one year ago, I managed to have an acceptable view of Greek for my web-site but it has never been 100% correct at all pages. What I did in order to use Greek correctly (without re-installing and re-configuring from scratch because too much work has already taken place), I used the following settings in the Greek.php file:

define('CHARSET', 'utf8_unicode-ci');
define('DB_CHARSET', 'utf8_unicode_ci');

I also modified my tables in mysql with the same codepage and in some cases it was needed to re-copy/paste the contents in the fields in order to be reset to new codepage. That was the only codepage that would display correctly. Plain UTF-8 would display (????) in most pages. I also had to open the php files in Notepad++ and save them as UTF8 files.

The current issue now is that:

  • Internet Explorer displays my website correctly with all Greek characters and without making any selection for encoding.
  • Opera doesn't display Greek correctly. I have to go to encoding and change manually to Greek.
  • When a user registers or a new order is placed, the email notification I receive in MS Outlook is ok but on my Android smartphone I see question marks (???). I see in the header of the message in Outlook that the message is UTF-8
  1. What do I have to do in order to allow all browsers to identify Greek codepage? and make Greek the default first language?

  2. What do I have to do in order for the emails to display correctly everywhere? even on my phone (which can display Greek correctly in all other cases except from this one only)?

17 Jul 2011, 10:16 PM
#2
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Greek character sets

  1. Can we get a link to your site
  2. view the source of your page, what does the character set say in the head section of the page
    mine (an english site)says
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    what does yours say?, is it actually coming through as the one you have set

Webzings Design
Semi retired from Web Design

18 Jul 2011, 6:20 AM
#3
andreasy avatar

andreasy

New Zenner

Join Date:
Aug 2010
Posts:
54
Plugin Contributions:
0

Re: Greek character sets

nigelt74:

  1. Can we get a link to your site
  2. view the source of your page, what does the character set say in the head section of the page
    mine (an english site)says
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    what does yours say?, is it actually coming through as the one you have set
  1. Yes, of course. I forgot to include it: http://yiangoullis.trustnet.com.cy/eshop/

  2. <meta http-equiv="Content-Type" content="text/html; charset=utf8_unicode-ci" />

which is what I have deifned but I assume that opera and maybe more browsers don't recognise this. IE however, detects correctly.