Page 2 of 2

Re: Problem on different language

Posted: Thu Jun 11, 2009 6:59 pm
by Daniel
m,ake sure you don;t have parse time on and make sure that your hosting is not running some hidden tracking script in the background.

Re: Problem on different language

Posted: Fri Jun 12, 2009 5:43 pm
by hitu_125
I asked my hosting company , they told me that they are not running any tracking script and also checked and verified the parse time. Still I am facing problem on different language the image capture for review page doesn't appear. Thanks for your time Daniel, and suggest some another solution. I appreciate your efforts.

Re: Problem on different language

Posted: Fri Jun 12, 2009 7:09 pm
by Daniel
go to viewe the image url directly and see if there are any errors.

also checko your error log.

this is a server config error not opencart's

Re: Problem on different language

Posted: Sun Jun 14, 2009 10:39 am
by andychoi
Dear All,

When I submit a Chinese character, it become a questuion mark. (e.g product name)
may I know any soultion for it? I am sure the MYSQL has setup with UTF-8 and the phpMyAdmin is Chinese version. Many thanks.
Andy

Re: Problem on different language

Posted: Mon Jun 15, 2009 9:25 pm
by readyman
Check your PHP settings - you need to have Simplified chinese support enabled & Traditional chinese support enabled for PHP to render any chinese characters properly using GD.
You also need to have UTF-8 support in PHP - check with your host.

Re: Problem on different language

Posted: Wed Jun 17, 2009 10:13 pm
by andychoi
Daniel wrote:go to viewe the image url directly and see if there are any errors.

also checko your error log.

this is a server config error not opencart's
HI Daniel,

thanks for reply.
1.) when I create 2 simple PHP page, test1.php and test2.php, the chinese chacater can pass between 2 pages no problem. No need to write any <Meta tag or UTF-8
it means my PHP and mySQL is working well with Chinese UTF-8.
Also, if I use phpMyAdmin insert directly, it working fine too..

2.) I try to View-Source the http://www.store-fourseasons.com/opencart/
and it can encode as zh-tw
May I know how to modify the 3rd line?

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="zh-TW" xml:lang="zh-TW">

I aslo like to add this line right after <title> if possible.. tanks
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8" />

3.) I try modify the product.php and put Chinese to the source , and it display question mark too after save.

$this->db->query("INSERT INTO product_description SET product_id = '" . (int)$product_id . "', language_id = '" . (int)$language_id . "', name = '', meta_description = '" . $this->db->escape(@$value['meta_description']) . "', description = '金'");
thank for help.



This is suh a greate prodcut, many thanks

Re: Problem on different language

Posted: Mon Jun 14, 2010 3:03 pm
by netgen
Just started learning 1.4.7 two weeks ago, and now the 1.4.8

I got the same problem as has been mentioned in the first post. Such problem does not occur in English language. In my case, it is traditional Chinese (UTF-8) :

"It works well in Firefox 3.0 but I found out later in IE the middle table of the "Latest Products" will drop under the "Information" table. "

Making following changes in header.tpl, I was able to get around the problem in IE7 & IE8

was :
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />

is :
<!--[if lte IE 8]>
<link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ie6.css" />

So, it seems some fixes for IE 6 are still required for IE7 & IE8. Hope some CSS experts can further improve the stylesheet for IE.

May be we need ie7.css and ie8.css to handle these two version of IE.

Re: Problem on different language

Posted: Tue Mar 13, 2012 4:09 am
by ericnmk80
Actually, I solve the problem. You just need to make sure your database type is a "utf8_general_ci" Collation.

1) Go to your PhpMyAdmin. It should be your "http://localhost/phpmyadmin". Login.
2) Choose your Database.
3) Click on Operations Tab. Scroll down and choose Collation "utf8_general_ci"
4) Click on Go.

Walla..... It's Done.

Thank You everyone.

Regards,
Eric Ng Ming Keong
Programmer & Analyst
e-Tamogatasi

** p/s : If it works, Please reply that it works and alert everyone. Thanks **