Bug #67485 When I write comment with ' character the final result is \' when I reload the i
Submitted: 6 Nov 2012 14:54 Modified: 18 Dec 2012 19:26
Reporter: Yves Archambault Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.44 OS:Windows (Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[6 Nov 2012 14:54] Yves Archambault
Description:
When I write in comments section of a column  with ' character the final result is \' when I reload the info. 
ex. I first write "  l'école " in comments section. Then apply change. When I reload the info I now have " l\'école " in comments.

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.43  revision 9869
Configuration Directory: C:\Users\Yves\AppData\Roaming\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit
CPU: 2x AMD Turion(tm) X2 Dual-Core Mobile RM-74, 3.8 GiB RAM
Active video adapter (0): LogMeIn Mirror Driver
Installed video RAM: 0 MB
Current video mode: 1440 x 900 x 4294967296 couleurs
Used bit depth: 32
Driver version: 7.1.542.0
Installed display drivers: NULL
Current user language: Français (Canada)

How to repeat:
First write "  l'école " in comments section. Then apply change. Then reload the info you now have " l\'école " in comments.
[18 Dec 2012 15:12] Ruben Dario Morquecho Valdez
Hi,
Could you try with last version 5.2.44 Workbench? .
What languages are you configured?.
i tr to reproduce following :
1.- Open Connection
2.- Select a Table from object browser.
3.- Right click and select alter table.
4.- Select a row.
5.- In "Comments" section write a comment using ' (single quote).
6.- saveit and retry the info and make sure it was saved correctly.

Could you please provide more info detail?

Thank you for your interest in MySQL.
[18 Dec 2012 16:25] Yves Archambault
First step

Attachment: 1- What I write in the comments field.JPG (image/jpeg, text), 117.56 KiB.

[18 Dec 2012 16:25] Yves Archambault
Second step

Attachment: 2- What I get when I try to save.JPG (image/jpeg, text), 65.46 KiB.

[18 Dec 2012 16:26] Yves Archambault
Last step

Attachment: 3-What I get after re-reading the info.JPG (image/jpeg, text), 119.99 KiB.

[18 Dec 2012 16:32] Yves Archambault
Hi, I have included some screen shoot to explain a bit more. Another thing is when I issue an Enter in that field everything looks god but, when I will save and get back the comment, I will have \n instead of an Enter.

Yves
[18 Dec 2012 19:26] Yves Archambault
Hi, I have tested the same comments on a different PC running WB but where all is setup english and I don't have this problem.

Yves