Forums / General Questions / collation

collation

Locked

Started by rxalex on 29 Jun 2010, 2:48 AM · Views: 1,736

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Jun 2010, 2:48 AM
#1
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

collation

I wanted to ask what should zen carts collation tables be? because all of my tables for some reason are type MyISAM and collation *latin1_general_ci *

29 Jun 2010, 3:01 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: collation

In v1.3.x, by default the table TYPE is MyISAM, and the collation is latin1_general_ci, based on the latin1 character set.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

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.

29 Jun 2010, 4:19 AM
#3
rxalex avatar

rxalex

Totally Zenned

Join Date:
Feb 2006
Posts:
588
Plugin Contributions:
0

Re: collation

is latin the usual character set? note this was a fresh install.

29 Jun 2010, 8:41 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: collation

predominantly yes

if you're upgrading from a prior version and all your tables are utf8 then you should probably be using utf8 instead of latin1

but for a new install of a new site, on a site that doesn't need non-latin characters, the default of latin1 should be fine

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

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.