Hi everyone,
like the headline says I have a problem, getting values out of a utf-8 encoded xml file when special characters are included.
The parts that doesn't worg look like this:
Code:
<ORT>München</ORT>
<FARBE>weiß</FARBE>
a wrote a script where I execute xml_grep:
Code:
xml_grep 'FARBE' script.xml --text_only > FARBE.TXT
xml_grep 'ORT' script.xml --text_only > ORT.TXT
When the script reaches "München" and "weiß" my output file contains "München" and "WeiÃ<9f>". It's my first time using xml_grep and I tried using --encoding option - without success.
I hope it is possible to use xml_grep with specail chars, otherwise I have to write these parts of the script using compatible commands.
Thanks!
Effman