PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > utf8_general_ci to utf8_polish_ci?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
utf8_general_ci to utf8_polish_ci?

Réponse
 
LinkBack Outils de la discussion
Vieux 24/03/2008, 04h30   #1
mikesz@qualityadvantages.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut utf8_general_ci to utf8_polish_ci?

Hello mysql,

Here is the short version of my story. I have a database that was not
correctly defined at creation time and is currently set to utf8_general_ci
but needs to be utf8_polish_ci. Some Polish characters are displaying
incorrectly and also some of the index references are not correct. I
was thinking that exporting the data and recreating the database with
the correct collation would solve the problem then I noticed in
phpMyAdmin that I could copy the database with a different collation
and wondered if that would be another way to get the correct solution.

Any thoughts or comments on the "right" way to convert from
utf8_general_ci to utf8_polish_ci?

Thank you for your attention.

--
Best regards,
mikesz mailto:mikesz@qualityadvantages.com

  Réponse avec citation
Vieux 07/04/2008, 02h41   #2
Baron Schwartz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: utf8_general_ci to utf8_polish_ci?

Hi,

On Sun, Mar 23, 2008 at 11:30 PM, <mikesz@qualityadvantages.com> wrote:
> Hello mysql,
>
> Here is the short version of my story. I have a database that was not
> correctly defined at creation time and is currently set to utf8_general_ci
> but needs to be utf8_polish_ci. Some Polish characters are displaying
> incorrectly and also some of the index references are not correct. I
> was thinking that exporting the data and recreating the database with
> the correct collation would solve the problem then I noticed in
> phpMyAdmin that I could copy the database with a different collation
> and wondered if that would be another way to get the correct solution.
>
> Any thoughts or comments on the "right" way to convert from
> utf8_general_ci to utf8_polish_ci?


The database collation isn't what's really affecting you here. It's
the character set and collation (they cannot be considered
independently) of the columns that you're using to hold the data.

Character sets and collations are pretty complicated. Have you read
the entire contents of the MySQL manual's documentation on them?

Regards
Baro

--

Baron Schwartz, Senior Consultant, Percona Inc.
Tel: +1 888 401 3401 ext 507
24/7 Emergency Line +1 888 401 3401 ext 911
Our Services: http://www.percona.com/services.html
Our Blog: http://www.mysqlperformanceblog.com/
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h54.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,07259 seconds with 10 queries