Unix Technical Forum

lettere accentate

This is a discussion on lettere accentate within the MySQL forums, part of the Database Server Software category; --> Salve, l'azienda che gestisce i server della mia azienda mi ha dato un mesetto fa una strana notizia: L'ultimaversione ...


Go Back   Unix Technical Forum > Database Server Software > MySQL

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-28-2008, 07:29 AM
Nedo
 
Posts: n/a
Default lettere accentate

Salve,
l'azienda che gestisce i server della mia azienda mi ha dato un mesetto fa
una strana notizia: L'ultimaversione di MySql non supporta le lettere
acentate ט,י,ל,ע,א,ש...
Premetto di non essere informatissimo in materia di versioni di MySql, ma
mi
ט sembrata una cosa strana...una specie di ritorno al passato.
Potete confermarmi questa cosa o indicarmi un thread che tratti
l'argomento?

Vi ringrazio anticipatamente.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-28-2008, 07:29 AM
Giuseppe Maxia
 
Posts: n/a
Default Re: lettere accentate

Nedo wrote:
> Salve,
> l'azienda che gestisce i server della mia azienda mi ha dato un mesetto fa
> una strana notizia: L'ultima versione di MySql non supporta le lettere
> acentate ט,י,ל,ע,א,ש...
> Premetto di non essere informatissimo in materia di versioni di MySql, ma
> mi
> ט sembrata una cosa strana...una specie di ritorno al passato.
> Potete confermarmi questa cosa o indicarmi un thread che tratti
> l'argomento?
>
> Vi ringrazio anticipatamente.
>
>


This is a newsgroup in English. If you want to ask something in Italian,
try free.it.comp.database.mysql

(Questo ט un NG in inglese. Se vuoi risposte in italiano, usa free.it.comp.database.mysql).

Anyway, to answer your question that MySQL seems not to allow accented characters,
it is not true. MySQL allows accented characters using character sets such as utf8 or latin1.

See this test:

create table accents_latin1 (c_latin1 char(30)) engine = myisam default charset=latin1;
create table accents_latin2 (c_latin2 char(30)) engine = myisam default charset=latin2;
create table accents_utf8 (c_utf8 char(30)) engine = myisam default charset=utf8;

insert into accents_latin1 values ('אטלעשי');
Query OK, 1 row affected (0.01 sec)

insert into accents_latin2 values ('אטלעשי');
Query OK, 1 row affected, 1 warning (0.02 sec)

insert into accents_utf8 values ('אטלעשי');
Query OK, 1 row affected (0.00 sec)

select * from accents_latin1;
+--------------+
| c_latin1 |
+--------------+
| אטלעשי |
+--------------+
1 row in set (0.00 sec)

select * from accents_latin2;
+--------------+
| c_latin2 |
+--------------+
| ???????? |
+--------------+
1 row in set (0.00 sec)

select * from accents_utf8;
+--------------+
| c_utf8 |
+--------------+
| אטלעשי |
+--------------+

ciao
gmax

--
_ _ _ _
(_|| | |(_|>< The Data Charmer
_|
http://datacharmer.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com