K
kvram
Hello everybody & thanks for reading this.
I am in the process of decoding a XML-dump of a big database with a
lot
of characters and symbols. I have done a lot of rules to prase away
all noise and what keeps me annoying at the end is this character: ^Q.
If i open the result file in notepad, i see it is represented by white
space. Fine i thought. But it really is not white space. When i look
at it at the console (i work with Cygwin i see it is ^Q .
I tried to print out the ASCII table to get its digit but is is not
included there. So the question is how to get rid of this (control?)
character/String. While
writing this it crossed my mind that i can do a:
readLine and String.contains("^Q") which i do after typing this
message. But the question is really what is this ^Q anyway.
thanks for your time/thoughts/suggestions,
kave
I am in the process of decoding a XML-dump of a big database with a
lot
of characters and symbols. I have done a lot of rules to prase away
all noise and what keeps me annoying at the end is this character: ^Q.
If i open the result file in notepad, i see it is represented by white
space. Fine i thought. But it really is not white space. When i look
at it at the console (i work with Cygwin i see it is ^Q .
I tried to print out the ASCII table to get its digit but is is not
included there. So the question is how to get rid of this (control?)
character/String. While
writing this it crossed my mind that i can do a:
readLine and String.contains("^Q") which i do after typing this
message. But the question is really what is this ^Q anyway.
thanks for your time/thoughts/suggestions,
kave