5 messages in com.mysql.lists.javaRE: Corrupted special characters
FromSent OnAttachments
Trent Schumann03 Dec 2000 10:06 
Tom Myers03 Dec 2000 11:10 
Tim Endres03 Dec 2000 14:25 
Eric Muntz03 Dec 2000 16:23 
mikel04 Dec 2000 05:27 
Subject:RE: Corrupted special characters
From:Eric Muntz (Eric@ZapMedia.com)
Date:12/03/2000 04:23:24 PM
List:com.mysql.lists.java

It sounds like what you need to do is send escape characters. For example, if you are to insert the string "eric's string", the sql statement will need to look like

insert into table values ('eric\'s string');

Use \ as your escape character. This will work for characters like quotes (single and double) and backslashes (forward slashes should not need the escape character). I'm not sure about the copyright symbol.

Hope that helps.

-Eric

-----Original Message----- From: Trent Schumann To: ja@lists.mysql.com Sent: 12/3/2000 1:06 PM Subject: Corrupted special characters

Hi,

Using MySQL, mmJDBC Driver on Win2000 machine.

When saving "special" characters (eg. left and right apostrophes, left and right quotes, copyright symbol etc.), in MySQL, it messes them up and returns a question mark in place of these characters when retrieved from the database. Have also tried using BLOB fields to no avail.

Any suggestions??

TIA Trent.