4 messages in com.mysql.lists.win32How do I load extended (accented) asc...
FromSent OnAttachments
Bob Bruce - Programmer19 Feb 2003 22:24 
Petr Vileta20 Feb 2003 07:40 
Bob Bruce - Programmer22 Feb 2003 05:44 
Petr Vileta22 Feb 2003 19:55 
Subject:How do I load extended (accented) ascii characters from text files?
From:Bob Bruce - Programmer (cova@shaw.ca)
Date:02/19/2003 10:24:12 PM
List:com.mysql.lists.win32

Whenever I try to enter data into text fields using either the load statement on an ascii file or an insert statement that has extended ascii (accented) characters in the range of 128 to 154 and then try to examine the data stored in MySQL I get gobbledegook characters. When I enter this same data from within the MySQL command line interface (in Windows 2K) the data displays correctly.

I am quite concerned about this because I am starting to build a PHP application that will take input from HTML forms and put them into the database using INSERT statements and I don't want to have this happen there.

Can someone suggest how I might correctly load this data from external text files?

Examples of the lines stored in the external text file are:

insert into artists (ArtistCode,ArtistID,Artist) values('real',229,'Real Bérard'); insert into artists (ArtistCode,ArtistID,Artist) values('rene',147,'René Lauthier');

thanks for your help, Bob Bruce, Winnipeg, Manitoba, Canada