1. following is the text from XML file which is supposed to be read using UTF-8. So I brought it up in IE to view. I tried to change the encoding to UTF-8 so that I can see bulllets instead of the weird characters like â¢. Am I doing the right thing / right way ?
It is expected that the incumbent meets the following selection criteria:
â¢ A postgraduate degree, preferably Ph.D, in a relevant field such as economics, trade, competitiveness, industrial organization, private sector development. A multi-disciplinary background is an advantage.
â¢ At least 12 years (15 with Masterâs degree) relevant experience in trade and competitiveness.
2. Above text is part of CDATA section. As mentiioned above, with UTF-8 format these weird characters actually represent bullets. My java code reads this and copies the CDATA section with <!CDATA[ word and writes it to the output XML file. When I write to the output file , I convert the strings to UTF-8 expecting that the output file will show bulllets as it's already converted into UTF-8.
can anyone comment what am I doing wrong here ? I don't see bullets when I bring up the input file or output file.