Welcome, Guest. Please login or register.
Login with username, password and session length


Need help or want to talk to other developers? Join the VirtueMart Chat! Read more...

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: SOLVED: IE6 encoding problems  (Read 4390 times)
Trimud
Newbie
*
Posts: 7


« on: May 27, 2009, 03:17:31 AM »

Hi all.

I have very strange issue.

I have website build with Joomla 1.0.15 and Virtuemart 1.0.15. I am using Bulgarian language with UTF-8 as encoding. Everything in globals.php and includes/database.php is done to display UTF correctly.

The site is ok in FF2, FF3, IE7, Opera and so on is fine, just not in IE6.
Some of the pages are not displaying at all - just the body background. Others are fine... The encoding is fine when I check it, but when I view the source of the page the things are not ok.

Code:
<title>NERTA - професионални почистващи препарати - ATC 100 - Почистващ препарат Р·Р° джанС</title>

It is not template issue, tried it with rhuk_solarflare_ii and the problem persists. The database is readable...

This page is ok in IE6 http://nerta.ipfen78.com/index.php?page=shop.product_details&flypage=shop.flypage&product_id=53&category_id=23&manufacturer_id=0&option=com_virtuemart&Itemid=26

and this one not:

http://nerta.ipfen78.com/index.php?page=shop.product_details&flypage=shop.flypage&product_id=81&category_id=13&manufacturer_id=0&option=com_virtuemart&Itemid=26

Any ideas will be greatly appreciated.

Thanx in advance!
Yuriy Boev
« Last Edit: May 28, 2009, 07:19:12 AM by Trimud » Logged
Trimud
Newbie
*
Posts: 7


« Reply #1 on: May 28, 2009, 07:18:04 AM »

The answer is to change

$mainframe->setPageTitle( html_entity_decode( $product_name, 0, 60 ), ENT_QUOTES ));

to

$mainframe->setPageTitle( html_entity_decode( $product_name, ENT_QUOTES ));

in administrator/com_virtuemart/html/shop.product_details.php

This way the title didn't get cut and everything is fine even in IE6
Logged
Pages: [1]   Go Up
Print
Jump to: