Bug #33502 Special character on Exported forward engineer

Submitted: 24 Dec 2007 19:47 Modified: 30 Dec 2007 20:03
Reporter: Diego Medina Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.0.11a OS:Windows (XP Pro)
Assigned to: CPU Architecture:Any

[24 Dec 2007 19:47] Diego Medina
Description:
The exported file contains special characters instead of New Line characters that can be seen opening an exported script on Notepad or using Vi on linux (on vi they show as a new line plus  ^M)

How to repeat:
Do a forward engineer script and open it on notepad, they will show all in one line and a thin rectangle.
If you open it on Wordpad, the special characters do not show.

Suggested fix:
You the proper New line character.
[30 Dec 2007 20:03] Valeriy Kravchuk
Thank you for a problem report. I do not think that using (hex) 0A character for a new line is a bug, though. Yes, normal "DOS" line break is OD0A, but 0A works in most editors both in DOS/Windows world and on UNIX.

I am sure that ^M in Linux is a result of saving the file with "normal" Windows text editor, as this is 0D essentially.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.049 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.