Video library: nfo parser should handle UTF-16

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
scott967 Offline
Senior Member
Posts: 202
Joined: Jul 2012
Reputation: 0
Post: #1
Eden 11.0 on Win 7 x64

I don't know if this is properly a feature or bug as I can't find a software requirement specification.

Problem: when scanning folders for video library, nfo files with UTF-16 encodings are skipped or not considered valid.

Suggested requirement: nfo file parser shall decode .nfo files encoded in UTF-16 as determined by

a. existence of a valid XML declaration statement with encoding="UTF-16"
or
b. presence of the BOM character in UTF-16 encoding (either LE or BE) at beginning of nfo file

scott s.
.
find quote