-
Database showing funny characters
Hi
I've moved an installation of zencart. Both version 1.3.0.1
From
php 4.4.2
Mysql 4.1.18
To
php 4.4.1
Mysql 4.0.25
I had to change some information in the sql file ENGINE=MyISAM DEFAULT CHARSET=latin1 to TYPE=MyISAM
The installation worked but there are some funny characters in my text such as ’
etc.
Is there anyway of getting rid of them without manually doing it by hand.
-
Re: Database showing funny characters
If you are able to change your new database's charset or collation settings to latin1, then those characters may convert properly for you. (Talk to your host about what options you have for those settings... you may have to do it table-by-table too.)
Otherwise, manual is likely your only option.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donations always welcome: www.zen-cart.com/donate
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
-
Re: Database showing funny characters
This is getting to be a major problem. Modern versions of MySQL/phpMyAdmin use utf8-en as their default character set. Whilst you can usually specify Latin 1 for uploading files, you generally don't have an option when it comes to downloading files.
The problem, as far as I can see it, is this: utf8-en is what it says "English" (only), while Latin 1 covers all Western European languages and renders non-English characters correctly - including £ and € - which are garbled by UTF8-en, along with any customer name which uses any non-English characters.
Vger
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC
Bookmarks