title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 10 of 10

Thread: Invisible characters causing grief

  1. #1

    Invisible characters causing grief

    Hello everyone,

    I've been using the dBpoweramp cd ripper for about 5 years now and i'm very happy with it.

    However, I've just come across what for me was a real mystery. All sorts of problems with MinimServer after ripping a CD with a hard space I didn't know about. I had actually copied it from notepad with Cntrl-C Cntrl-V.

    A normal space character hex=20 dec=32 displays the same as a hard space hex=A0 dec=160 but if by bad luck you happen to copy a hard space into the ripper as part of the title or any other field when the disc rips it looks OK but it isn't.

    Wherever you have hex=A0 for a space the ripper places both hex=C2 and hex=20 which still show up as just one space but MinimServer picks this up and it makes life interesting to say the least.

    Now I know what is happening it isn't a problem but I took me some hours to fathom it out. Why does the ripper replace hex=A0 with hex=C2 hex=20. Could the ripper warn if it spots a hard space, before it rips the disc? Just a suggestion.

    Thanks.

    Bob.
    Last edited by mightyoakbob; 11-08-2017 at 05:49 AM.

  2. #2
    dBpoweramp Guru
    Join Date
    Feb 2014
    Posts
    1,740

    Re: Invisible characters causing grief

    Hey Bob,

    looks like this could be a UTF-8 / UTF-16 problem.


    Dat Ei

  3. #3
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    4,015

    Re: Invisible characters causing grief

    Couldn't you use the CD Ripper File Name Character Replacement and the ID Tag Processing DSP >> Manipulation >> Word / Character Replacement and replace the non-breaking space with space?

    Also, couldn't you use the ID Tag Update utility codec, post rip?
    Last edited by mville; 11-08-2017 at 07:04 AM. Reason: added more info

  4. #4

    Re: Invisible characters causing grief

    Quote Originally Posted by mville View Post
    Couldn't you use the CD Ripper File Name Character Replacement and the ID Tag Processing DSP >> Manipulation >> Word / Character Replacement and replace the non-breaking space with space?
    Interesting idea. I don't know anything about char replacement I'll read up a bit.

    Quote Originally Posted by mville View Post
    Also, couldn't you use the ID Tag Update utility codec, post rip?
    You may be able edit the problem out but unfortunately you can't see the problem which is a bit harder.

    Thanks.

    Bob.

  5. #5
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    4,015

    Re: Invisible characters causing grief

    Quote Originally Posted by mightyoakbob View Post
    You may be able edit the problem out but unfortunately you can't see the problem which is a bit harder.
    That is why I am suggesting you use the CD Ripper File Name Character Replacement, the ID Tag Processing DSP and the ID Tag Update utility codec, so the issue is taken care of for you and you don't have to think about it. It is what I do in these circumstances.

  6. #6

    Re: Invisible characters causing grief

    Quote Originally Posted by mville View Post
    That is why I am suggesting you use the CD Ripper File Name Character Replacement, the ID Tag Processing DSP and the ID Tag Update utility codec, so the issue is taken care of for you and you don't have to think about it. It is what I do in these circumstances.
    I'm trying to get my head around this, I'm obviously not as familiar with this as you are.

    I've just had a look and the reading suggests that will do char replacement on meta data, does that include what is copied into a field by Cntrl-V before a rip?
    How would I enter enter hex=A0 on the left side ? I presume it would simply be a space on the right side?

    Bob.

  7. #7
    dBpoweramp Guru
    Join Date
    Dec 2008
    Location
    London, UK
    Posts
    4,015

    Re: Invisible characters causing grief

    Quote Originally Posted by mightyoakbob View Post
    I've just had a look and the reading suggests that will do char replacement on meta data, does that include what is copied into a field by Cntrl-V before a rip?
    Yes, I believe it will work either before ripping or post rip, but you will need to test this to be sure. Try it on a single CD or on a single file, post rip.

    Before ripping:
    CD Ripper Menu >> CD Ripper Options >> Filename Restricted Characters, replaces characters in the filename
    and
    CD Ripper main window >> DSP Panel >> ID Tag Processing >> Manipulation >> Word / Character Replacement, replaces characters or words from any metadata value

    Post rip:
    Batch Convert/Convert To >> ID Tag Update >> Manipulation >> Word / Character Replacement

    Quote Originally Posted by mightyoakbob View Post
    How would I enter enter hex=A0 on the left side ? I presume it would simply be a space on the right side?
    You can type a non-breaking space using the Alt+0160 keystroke (that is hold down the Alt key and type the numbers 0,1,6 and 0).

  8. #8
    Administrator
    Join Date
    Apr 2002
    Posts
    43,855

    Re: Invisible characters causing grief

    We can look to add for the next release.

  9. #9
    dBpoweramp Enthusiast
    Join Date
    Dec 2009
    Posts
    133

    Re: Invisible characters causing grief

    And how about trimming spaces from the beginning/ending of all fields?

    Mike

  10. #10

    Re: Invisible characters causing grief

    Quote Originally Posted by Spoon View Post
    We can look to add for the next release.
    Excellent, thank you very much.

    Cheers,

    Bob.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •