Post Reply 
comment display
09-01-2015, 21:52
Post: #13
RE: comment display
(09-01-2015 18:43)Andre Gosselin Wrote:  I realize that, when creating this message, I can see two offending characters (originally shown in the PDF as a copyright symbol, and a 'P' inside a circle). But when pasting to a COMMENT tag using mp3tag, foobar or mediamonkey, only the second one is "hinted" at in the software UI. The same is true once my message is previewed: the first illegal character goes unnoticed.

Hunting for illegal characters introduced by a cut&paste operation can thus quickly become really troublesome. Cutting & pasting inside the comments tag appears such a natural thing to do (at least for me) that I risk the suggestion that, for this tag only, illegal characters should be reported in the log, but stripped so that the tag contents can be safely and usefully passed to the control point.

Thanks for your help

I have reproduced the problem using the PDF file you uploaded. I have also tried copying and pasting text from some of my own booklet PDF files. These don't create the same problem with illegal characters because the pasted text contains C in place of the © symbol and P in place of the ℗ symbol.

My conclusions are:

1) This 0x01 problem is relatively unusual because it occurs only with faulty PDF files

2) When this 0x01 problem does occur, there is no simple or convenient way for the user to locate the 0x01 character and remove it

3) Because the position of the 0x01 character can't be located easily, MinimServer should convert the illegal tag to a legal format instead of ignoring it

4) It would be helpful for MinimServer to show the user where the 0x01 character is in the tag value so that the user can fix it with a tag editor

My proposed solution is to add code to replace all illegal characters (not just 0x01) in all tag values (not just COMMENT) with a legal substitute such as the Unicode replacement character � (U+FFFD). The replacement would be internal to MinimServer and the file tags would not be modified.

When the user is viewing the tag value in a control point, the replacement character will be visible and this will show the user that the tag value contains an illegal character as well as identifying the exact position of the illegal character.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
comment display - zoltanzylox - 19-11-2014, 04:18
RE: comment display - simoncn - 19-11-2014, 07:49
RE: comment display - zoltanzylox - 19-11-2014, 16:01
RE: comment display - simoncn - 19-11-2014, 16:19
RE: comment display - simoncn - 19-11-2014, 17:53
RE: comment display - zoltanzylox - 19-11-2014, 20:27
RE: comment display - simoncn - 23-12-2014, 22:49
RE: comment display - Andre Gosselin - 08-01-2015, 20:19
RE: comment display - simoncn - 08-01-2015, 23:12
RE: comment display - Andre Gosselin - 09-01-2015, 02:48
RE: comment display - simoncn - 09-01-2015, 08:29
RE: comment display - Andre Gosselin - 09-01-2015, 18:43
RE: comment display - simoncn - 09-01-2015 21:52
RE: comment display - DavidHB - 09-01-2015, 23:11
RE: comment display - Andre Gosselin - 09-01-2015, 23:49
RE: comment display - simoncn - 10-01-2015, 08:53
RE: comment display - simoncn - 12-01-2015, 10:32
RE: comment display - bubbleguuum - 10-01-2015, 23:54
RE: comment display - simoncn - 11-01-2015, 10:19
RE: comment display - bubbleguuum - 11-01-2015, 11:12

Forum Jump:


User(s) browsing this thread: 1 Guest(s)