Closed MattiasRensmo closed 4 years ago
@Mrensmo Character 31 is "Unit Separator" - see http://www.asciitable.com/ - it's quite unusual to see this character. Perhaps it's added by a piece of software you use.
It could be coming from almost anywhere - in your MP3 tags, or the summary text, or…
I will look into sanitizing the output for these characters when they're rendered.
I manage to remove it from the xml-file by "Find and Replace" (i search for it's hex number with RegExp). Only to get a new error with another char:
This page contains the following errors:
error on line 3241 at column 52: PCDATA invalid Char value 30
Below is a rendering of the page up to the first error.
I understand that it is my files that are strange but it would be lovely if your program could handle it. =)
It sems to be in these two fields that the strange chars apear.
<itunes:summary>Produced by</itunes:summary>
<description><![CDATA[Produced by]]></description>
@Mrensmo could you try the version of dir2cast in the branch https://github.com/ben-xo/dir2cast/tree/feature/issue-35-fix-invalid-utf8-characters-in-xml ?
Works like a charm!
Thnks, very nice =)
When i run the PHP I get the following error:
I've done some googling and found the following from here:
I have looked but i guess i don't have the skill to find the invalid character in the file.