Re: MYSQL doesn't 'see' accents
Posted by: Evi Wool
Date: June 27, 2010 02:09AM

Rick, you nearly cracked it!
I used the following command
ALTER TABLE TblEngTest CONVERT TO CHARACTER SET utf8 COLLATE utf8_bin;

When I SELECT a line which I knew had an accent, the accent now displays correctly. To add to this, This database has an OpenOffice BASE front end. In BASE, before I ran this command, the accents did display correctly. I thought at first that all was well but when I ran a select query with the criteria
LIKE '%é%'
any word containing e was displayed rather than only words containg é
but after altering the table's Character set AND collate, the criteria now works properly.
I say it's nearly because there is still some difficulty with è and one or two other accents . They filter properly in BASE but displays incorrectly in MySQL yet if I edit it in MYSQL it displays incorrectly in BASE. but this is a big step;

Options: ReplyQuote


Subject
Views
Written By
Posted
4682
June 23, 2010 05:31PM
1927
June 23, 2010 09:34PM
2066
June 24, 2010 12:00AM
2208
June 24, 2010 03:14AM
1992
June 24, 2010 05:59AM
2061
June 24, 2010 04:09PM
2761
June 26, 2010 06:12AM
2102
June 26, 2010 12:04PM
2198
June 26, 2010 03:34PM
4057
June 26, 2010 06:46PM
Re: MYSQL doesn't 'see' accents
2102
June 27, 2010 02:09AM
2068
June 27, 2010 12:48PM
2478
June 27, 2010 11:50PM
1958
June 28, 2010 12:13AM
2060
June 28, 2010 07:59PM
1902
June 28, 2010 09:27PM
2451
June 30, 2010 01:29AM


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.