Re: £ (Great Britain Pound) breaks MySQL insert and update - disastrous overwrit e

2006-10-20 Thread Warren Young
Paul Warner wrote: When a user enters text with a £ sign (Great Britain Pound) in the browser and clicks enter, any insert or update statement apparently gets truncated in mysql. It's possible that somewhere along the line, the character is getting translated to a multibyte Unicode format.

Re: £ (Great Britain Pound) breaks MySQL insert and update - disastrous overwrit e

2006-10-20 Thread Philip Mather
Warren Young wrote: Paul Warner wrote: When a user enters text with a £ sign (Great Britain Pound) in the browser and clicks enter, any insert or update statement apparently gets truncated in mysql. It's possible that somewhere along the line, the character is getting translated to a

Re: £ (Great Britain Pound) breaks MySQL insert and update - disastrous overwrit e

2006-10-20 Thread Philip Mather
Warren Young wrote: Paul Warner wrote: When a user enters text with a £ sign (Great Britain Pound) in the browser and clicks enter, any insert or update statement apparently gets truncated in mysql. It's possible that somewhere along the line, the character is getting translated to a

Re: £ (Great Britain Pound) breaks MySQL insert and update - disastrous overwrit e - FIXED

2006-10-20 Thread Warren Young
Paul Warner wrote: Now we are in UTF-8, it is saving everything I can throw at it without creating garbage characters. Whew. Yep. Even though it wasn't the solution to your immediate problem, switching to UTF-8 will prevent a whole class of future ones. -- MySQL General Mailing List For

Re: £ (Great Britain Pound) breaks MySQL insert and update - disastrous overwrit e

2006-10-19 Thread Gerald L. Clark
Paul Warner wrote: Ok, here is an update. I have now switched everything to UTF-8, database, application, jsp page. I have added a tomcat filter that sets the request and response encoding to UTF-8 presumably before anything else sees the request (it seems to write to the log 10 times for