This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Database collation
#4
RE: Database collation
For example, file: https://github.com/sentora/sentora-core/...l_core.sql

Line 40:
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;

That is source of all non UTF8's Almost all tables have it. It's basicly overriding general "database" collation.
That should be: CHARSET=utf8

When i change x_profiles table columns to UTF8 and than export x_profles, i get line:

) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

So i'm guessing is that we have to change every table charset. Database charset that is set up on line 13 will have effect only on new tables created after table is created on install.
Reply
Thanks given by:


Messages In This Thread
Database collation - by sosojni - 10-13-2014, 07:34 AM
RE: Database collation - by Me.B - 10-13-2014, 08:43 AM
RE: Database collation - by TGates - 10-13-2014, 09:20 AM
RE: Database collation - by sosojni - 10-13-2014, 09:57 AM
RE: Database collation - by sosojni - 10-13-2014, 09:59 AM
RE: Database collation - by TGates - 10-13-2014, 10:42 AM
RE: Database collation - by sosojni - 10-13-2014, 10:50 AM
RE: Database collation - by TGates - 10-13-2014, 12:21 PM
RE: Database collation - by Me.B - 10-16-2014, 06:03 AM
RE: Database collation - by kandrews - 10-16-2014, 06:09 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)