Re: weird characters from mysqldump?

2005-04-13 Thread Jeremy Cole
Hi Steve,
I'm trying to export data from mysql 4.1.3 with mysqldump.
I'm getting weird characters from the system. Here's what I've discovered
so far:
' becomes ^À^Ù, e.g. didn't becomes didnâ^À^Ùt
- becomes â^À^Ó, e.g. 1-2 becomes 1â^À^Ó2
è becomes è, e.g. Entrèe becomes Entrèe
What gives?
Looks like an application of the GIGO (Garbage In, Garbage Out) 
principle to me.  The above data wouldn't have happened to come from a 
Microsoft Office application, would it?

Looks like Smart Quotes etc., strikes again, to me.
Regards,
Jeremy
--
Jeremy Cole
Technical Yahoo - MySQL (Database) Geek
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: weird characters from mysqldump?

2005-04-13 Thread Steve Lefevre
Actually, it came from Mysql 4.1.1 (not 4.1.3 as I mentioned earlier). 
When I do select queries, the data displays just fine, but when I dump, 
I get this garbage.

Jeremy Cole wrote:
Hi Steve,
I'm trying to export data from mysql 4.1.3 with mysqldump.
I'm getting weird characters from the system. Here's what I've 
discovered
so far:

' becomes ^À^Ù, e.g. didn't becomes didnâ^À^Ùt
- becomes â^À^Ó, e.g. 1-2 becomes 1â^À^Ó2
è becomes è, e.g. Entrèe becomes Entrèe
What gives?

Looks like an application of the GIGO (Garbage In, Garbage Out) 
principle to me.  The above data wouldn't have happened to come from a 
Microsoft Office application, would it?

Looks like Smart Quotes etc., strikes again, to me.
Regards,
Jeremy

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]


Re: weird characters from mysqldump?

2005-04-12 Thread Dan Nelson
In the last episode (Apr 12), Steve Lefevre said:
 Hey folks --
 
 I'm trying to export data from mysql 4.1.3 with mysqldump.
 
 I'm getting weird characters from the system. Here's what I've discovered
 so far:
 
 ' becomes ^`A^`U, e.g. didn't becomes didn^`A^`Ut
 
 - becomes ^`A^'O, e.g. 1-2 becomes 1^`A^'O2
 
  becomes ~A, e.g. Entre becomes Entr~Ae
 
 What gives?

UTF-8 conversion happenning somewhere maybe?

-- 
Dan Nelson
[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]