PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > character sets, again
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
character sets, again

Réponse
 
LinkBack Outils de la discussion
Vieux 27/12/2007, 12h29   #1
and.hocevar@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut character sets, again

helo. i'm having some difficulties with characters sets and collation
that probably spans across three distinct areas: a mysql table,
showing the contents on a site with php, and the input of data. until
now i thought everything was working just fine, but now it seems that
something is wrong. here's the situation.

my tables have columns with the character set utf8, for which i've
tried various collations, including slovenian (which is the primary
language of most of the data). in fact, it seemed to work: the data is
displayed correctly on my site that sends ot the header "Content-Type:
text/html; charset=utf-8".

but when i want to get the time and date from mysql in slovenian ("SET
lc_time_names = 'sl_SI'") our specific characters aren't shown
correctly -- even though they are when reading data from my tables.

as of sorting: the order is not right. the accentuated characters come
out at the top.

so i starting to wonder that maybe my way of inputting the data was
wrong. i use linux and vim to type my data. vim uses the options
"encoding=utf-8" and "fileencoding=utf-8". for instance, the letter
`è' (latin small letter c with caron) has the unicode code u+010d,
which is what i use in my map file for vim.

any pointers greatly appreciated, thanks,
andrej
  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 02h48.


É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,08810 seconds with 9 queries