MySQL Forums
Forum List  »  German

Re: Umlautsortierung
Posted by: J?rg B?chner
Date: March 02, 2012 01:24AM

Guten Morgen Thomas,

danke schon einmal für Deine Analysehilfe, denn in der Tat zeigt sich ein Unterschied. Die Abweichungen beim Problemkind habe ich in eckige Klammern gesetzt:
CREATE TABLE `laender` (
  `land` char(30) NOT NULL,
  `land_e` char(30) NOT NULL,
  `land_f` char(30) NOT NULL,
  `iso` char(3) NOT NULL,
  `kfz` char(3) NOT NULL,
  `eu` tinyint(1) NOT NULL,
  PRIMARY KEY (`iso`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8	[CHARSET=latin1]



SHOW VARIABLES LIKE 'char%';

character_set_client     | utf8
character_set_connection | utf8
character_set_database   | utf8		[latin1]
character_set_filesystem | binary
character_set_results    | utf8
character_set_server     | utf8
character_set_system     | utf8
character_sets_dir       | C:\Program Files\MySQL\MySQL Server 5.5\share\charsets



SHOW VARIABLES LIKE 'col%';

collation_connection | utf8_general_ci
collation_database   | utf8_general_ci	[latin1_swedish_ci]
collation_server     | utf8_general_ci


SELECT land FROM laender ORDER BY land;
Für mich steht damit fest: Es liegt am verwendeten Character-Set, bzw. der Collation-Sequence.
Ich habe gerade noch einmal MySQL deinstalliert. Dann Reboot, alle Dateien in "/Programme/MySQL Server 5.5" gelöscht (da sind noch ein paar .ini-Dateien, meist als .BAK übriggeblieben), Neuinstallation mit "Best support for multilingualism" - und trotzdem erscheint an drei Stellen oben wieder "latin1". Wo kommt das denn her, bzw. wo muss ich noch "putzen"?

Viele Grüße

Jörg

Options: ReplyQuote


Subject
Views
Written By
Posted
2226
February 29, 2012 10:46AM
1136
March 01, 2012 12:27AM
1143
March 01, 2012 01:08AM
Re: Umlautsortierung
1516
March 02, 2012 01:24AM
1669
March 02, 2012 03:17AM
1293
March 02, 2012 10:36AM
1131
March 04, 2012 06:54AM
1138
March 04, 2012 08:54AM
1182
March 05, 2012 03:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.