in reply to Re^2: Mysterious Whitespaces between each character in a file (hack for 5.6.x)
in thread Mysterious Whitespaces between each character in a file
$/="\n\0"; will fail if the file contains character U+0Axx followed by U+yy00
This is correct (same holds for "\x0A\x00", btw). However, as U+0Axx is Gurmukhi/Gujarati, this is rather unlikely to happen in the OP's case... (Also, a characteristic of a "crude hack" (as I called it) is, that it would work in most practical cases, but isn't failsafe, theoretically).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Mysterious Whitespaces between each character in a file (hack for 5.6.x)
by ikegami (Patriarch) on Oct 08, 2009 at 17:16 UTC | |
by almut (Canon) on Oct 08, 2009 at 17:29 UTC | |
by ikegami (Patriarch) on Oct 08, 2009 at 17:36 UTC |