fix #3491: bad encoding in features list

This:
  - forces the use of UTF-8 encoding;
  - escapes HTML characters present in features;
  - closes <p></p> before starting <ul></ul> (as the later cannot be
    embedded in the former according to the HTML specification).