Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Wrong charset, conversion from `ISO-8859-1’ to `UCS-4LE’
 
Aldo
Member
 
Total Posts:  46
Joined:  2008-02-19
 

Hi all,

After installation of Magento I get the following Error in the Frontend:

Noticeiconv_substr() [function.iconv-substr]Wrong charsetconversion from `ISO-8859-1' to `UCS-4LE is not allowed in /web/shop/app/code/core/Mage/Log/Model/Mysql4/Visitor.php on line 54

Does anybody have a solution for this?

Thanks!
Aldo

 
Magento Community Magento Community
Magento Community
Magento Community
 
Aldo
Member
 
Total Posts:  46
Joined:  2008-02-19
 

We install PHP5 as a CGI binary, as the provider does not have installed the pdo_mysq extension.

So we get this error only in a PHP5 as a CGI binary installation.

Would appreciate any help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Aldo
Member
 
Total Posts:  46
Joined:  2008-02-19
 

Nobody an idea here?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brightside
Jr. Member
 
Total Posts:  3
Joined:  2008-05-08
 

Anything new on this one?

I did a fresh install with php5-cgi and ran into same problem.

Anything I might miss in my server?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Juxecl
Member
 
Total Posts:  33
Joined:  2007-12-08
 

You could try changing the AddDefaultCharset directive in .htaccess

# AddDefaultCharset Off
AddDefaultCharset UTF-8

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brightside
Jr. Member
 
Total Posts:  3
Joined:  2008-05-08
 
Rowd - 09 May 2008 03:23 AM

You could try changing the AddDefaultCharset directive in .htaccess

# AddDefaultCharset Off
AddDefaultCharset UTF-8

Tested it already, no luck.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Juxecl
Member
 
Total Posts:  33
Joined:  2007-12-08
 

I guess that was a pretty optimistic suggestion smile

There’s no character set given in the iconv_substr() function so it should use iconv.internal_encoding for the conversion. You could try changing the value of iconv.internal_encoding to ‘UTF-8’.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Brightside
Jr. Member
 
Total Posts:  3
Joined:  2008-05-08
 
Rowd - 09 May 2008 11:47 AM


There’s no character set given in the iconv_substr() function so it should use iconv.internal_encoding for the conversion. You could try changing the value of iconv.internal_encoding to ‘UTF-8’.

Can be done in php.ini? Not sure how to change php settings for cgi version.

 
Magento Community Magento Community
Magento Community
Magento Community
 
VimS
Jr. Member
 
Total Posts:  13
Joined:  2008-04-27
 

Hi!

I’ve got the same Problem.
Any solutions or suggestions?!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Sword
Jr. Member
 
Total Posts:  6
Joined:  2008-05-31
 

See
http://www.magentocommerce.com/boards/viewthread/1202/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Core
Member
 
Total Posts:  68
Joined:  2008-03-09
 

Put these lines at the top of the main index.php file.

iconv_set_encoding("internal_encoding""UTF-8");
iconv_set_encoding("output_encoding""ISO-8859-1");

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52358 users|815 users currently online|105715 forum posts