Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Mysterious Whitespaces between each character in a file

by Unforgiven (Hermit)
on Oct 08, 2009 at 14:07 UTC ( #799976=note: print w/replies, xml ) Need Help??


in reply to Mysterious Whitespaces between each character in a file

Have you tried printing out the file and looking at it with a hex editor? Maybe it'll help knowing exactly what that character is, then you could try tracking down where it's coming from (or just regex it out).
  • Comment on Re: Mysterious Whitespaces between each character in a file

Replies are listed 'Best First'.
Re^2: Mysterious Whitespaces between each character in a file
by shawnhcorey (Friar) on Oct 08, 2009 at 16:18 UTC

    Agreed. One possibility is that is contains a non-breaking space (ASCII code A0). /\s/ does not match this. Looking at the data with a hex editor will tell you if this is so.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://799976]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2020-10-26 10:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (251 votes). Check out past polls.

    Notices?