in reply to Re^2: Cleaning up non 7-bit Ascii Chars for XML-processing
in thread Cleaning up non 7-bit Ascii Chars for XML-processing
00-1F and 7F aren't printable, so I escape those too.
And other than those things, isn't that really equivalent to what I was doing?
Yes, it's the same except where it's not.
Except that, it appears you are outputting where I was outputting \, and are those in fact equivalent?
So you still haven't fixed your bug. Start with that.
and are those in fact equivalent?
No. I guess that's yet another bug.
- You're not decoding your inputs. (Not yet fixed.)
- You're not encoding your outputs. (Not yet fixed.)
- You confuse 92 hex for 92 decimal. (Fixed by using the function I posted.)
- You're not outputting 7-bit clean as desired. (Fixed by using the function I posted.)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Cleaning up non 7-bit Ascii Chars for XML-processing
by ikegami (Patriarch) on Nov 11, 2010 at 21:06 UTC |
In Section
Seekers of Perl Wisdom