If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Problem when inserting unicode records

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-12-04, 06:38
duncanatt duncanatt is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
Problem when inserting unicode records

I'm having a problem when inserting the following records...

insert into kbase values ('arċhaiċ', '', 'reject')

and,

insert into kbase values ('archaic', '', 'reject')

The problem is that the first record is being inserted, but when I try to
insert the second record, I get an error saying:


[test] ERROR 1062: Duplicate entry 'archaic' for key 1

although the first record's keyfield is 'archaic' and not 'archaic'.

Note:

This is the show create output:


# Host: localhost
# Database: corpus
# Table: 'kbase'
#
CREATE TABLE `kbase` (
`word` varchar(100) NOT NULL default '',
`changes` varchar(100) NOT NULL default '',
`status` enum('unknown','accept','reject','change') NOT NULL default
'unknown',
PRIMARY KEY (`word`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


If I insert 'aċċessibbli' and afterwards I insert 'accessibbli' the second insertion is not successful (duplicate key).

If I insert 'adeżjoni' and afterwards I insert 'adezjoni' the latter insertion is unsuccessful (duplicate key).

If I insert 'beħsiebna' and, afterwards I insert 'behsiebna' the insertion IS successful.

If I insert 'appoġġ' afterwards I insert 'appogg' the latter insertion is unsuccessful.

If I insert 'realtą' and then insert 'realta' the second insertion is unsuccessful.

I am using MySql Connector/NET beta 2 and C#.

Thanks in advance for your help, and looking foward to hearing
from you.

Duncan Paul Attard
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On