[No Subject]

Objet:   [No Subject] (trouver plus)
Date:   Dec 08, 2005 13:26

Return-Path: <caché>
Received: from [] by web30507.mail.mud.yahoo.com via HTTP;
 Thu, 08 Dec 2005 04:26:45 PST
Message-ID: <caché>
Date: Thu, 8 Dec 2005 04:26:45 -0800 (PST)
From: Olivier Boulot <caché>
Reply-To: "CiviCRM: General discussion around development" <caché>
Sender: caché
To: "CiviCRM: General discussion around development" <caché>
Subject: Re: [Crm-dev] Re: [CS dev] Illegal Mix of Collations
In-Reply-To: <caché>
Errors-To: caché
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
Delivery-Date: Thu, 08 Dec 2005 07:28:03 -0500
X-Forwarded-To: caché
X-Forwarded-For: caché caché
X-Gmail-Received: 61c5f6844f527cd0e915cca82dcb075770efc96b
Delivered-To: caché
Received-SPF: neutral (gmail.com: is neither permitted nor denied by best guess record for domain of caché)
DomainKey-Status: bad (test mode)
Old-Return-Path: <caché>
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
X-BeenThere: caché
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "CiviCRM: General discussion around development"
List-Unsubscribe: <http://lists.objectledge.net/mailman/listinfo/crm-dev&gt;,
List-Archive: <http://lists.caltha.pl/pipermail/crm-dev>
List-Post: <mailto:caché>
List-Help: <mailto:caché?subject=help>
List-Subscribe: <http://lists.objectledge.net/mailman/listinfo/crm-dev&gt;,
Envelope-To: caché

I spent some time a couple of days ago using
TOAD/mysqladmin and creating scripts with alter
database, alter table to no avail.
I probably overlooked something but will revisit the
issue in a few days.

In the meantime, I dropped all databases I was working
with and reconf'd the win32 mysql 4.1 instance to use
UTF8, then recreated the schema. That got me past the
speed bump, and seems to be the fastest way to solve
that issue.

I will try to make -after install - changes on the
Linux platform when time permits and  keep you posted.



--- Piotr Szotkowski <caché> wrote:

> Hello.
> Dave Greenberg:
> > * Some versions of MySQL use latin-1-swedish as
> the default collation.
> > If Drupal tables are created in these versions -
> they will carry that
> > collation. What version of MySQL are u running?
> Actually, all MySQL 4.1+ versions do so, for
> backward compatibility (MySQL is a Swedish
> database).
> > * I don't know of a batch way to change the
> collations of
> > all tables in a DB in phpMyAdmin - altho there may
> be one.
> It's enough to change the collation of the database
> (the collation information is inherited unless
> redefined):
> ALTER DATABASE `drupal` COLLATE utf8_general_ci;
> (Or utf8_unicode_ci - see [1] for details.)
> The question is what's the impact of such change on
> Drupal's (and
> its modules') contents. From what I gather, Drupal
> should use UTF-8
> everywhere, so the above change should actually be a
> good thing (and
> should be done on Drupal install). AFAIK, Drupal
> doesn't do this because
> this would be a MySQL-specific change, and they want
> to have the diff
> between MySQL, PostgreSQL and other backends as
> small as possible (on
> one hand, I can't blame them; on the other - using
> MySQL with UTF-8 data
> while telling it it's ISO-8859-1 can backfire in
> very mysterious ways).
> > * If you aren't planning on using i18n features in
> CiviCRM - you can
> > install it with the MySQL 4.0 table create script
> (civicrm_40.mysql) .
> > This doesn't specify the utf-8 collation - so will
> use the default in
> > MySQL.
> On MySQL 4.1, this will simply make the MySQL
> database default to
> ISO-8859-1 character set and latin1_swedish_ci
> collation (the same
> Drupal ends up with, as it does not declare
> anything). Again, as CiviCRM
> uses UTF-8 everywhere, this is not good (nor
> proper), but if you're not
> using accented characters, it shouldn't backfire.
> (Sample backfiring: when one uses UTF-8, but tells
> MySQL it's
> ISO-8859-1, the letter =C2=A3 gets mysteriously mangled.
> Sometimes.
> Which can be a bit frustrating if one has a
> girlfriend in the
> Polish city of =C2=A3=C3=B3d=C2=BC, like some of us.) ;o)
> So, to sum it up, I'm leaning toward recommending
> ALTER DATABASE `drupal` COLLATE utf8_general_ci;
> and asking for reports from anyone for whom this
> didn't
> work. (Of course the database name can be different,
> and most probably is in most installs of
> CivicSpace.)
> [1]
> Cheers,
> -- Shot
> --=20
>                   I wanted to be Superman, but all I
> got were
>                   these special powers of
> self-deprecation.
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D http:/=
> =3D=3D=3D http://shot.pl/1/125/ =3D=3D=3D
> _______________________________________________
> Crm-dev mailing list
> caché

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around=20
Crm-dev mailing list

Creative Commons License
Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-Share Alike 3.0 United States Licence.