Line breaks can be included in artboard names, causing errors
I'm using Illustrator 26.0.2 on Mac OS Catalina.
I often copy titles from the art and paste them into the artboard name box. If the copied title has a line break in it, the line break character will exist within the artboard name, but will not display. (You can tell it's there when moving the cursor via the arrow key, because the cursor will not move when passing the line break character.)
If there is a line break character in an artboard name and you attempt to export the artboard, you will get a generic error. ("Unable to export the following files:" followed by a list of the artboards that didn't export. Again, here the artboard name doesn't actually show the line break.)
Please fix so that pasting into the artboard name box strips out any invalid characters (e.g. line break).
Michael Tyznik commented
Interesting. So I just discovered that the issue seems to involve Google Drive. If I try to export to my Desktop, it exports correctly, but if I export to my Google Drive, I get the error. However, if I go in and delete the line break character, I am then able to export to Google Drive.
Illustrator uses ETX character (https://en.wikipedia.org/wiki/End-of-Text_character) to break lines, instead of EOL/NEL chars or CR+LF, obviously.
When I try to paste the text from the canvas that has a line break, it get pasted in an artboard’s name fine, both lines combined in one, except for the square instead of the break, and it is not displayed at all when you finish editing the name. This is not wrong, but not correct at the same time.
However, I can export an artboard with such a name just fine, no errors...
Michael, can you provide the file to look at? Strip it from anything else but names.