Page 1 of 1

movie.nfo does not show special characters

Posted: 13 Oct 2020, 21:32
by csatuser
I just set up filebot on my Synology DS218 NAS. Everything works fine so far. I just recognized that the files movie.nfo do not show special characters (German language). Instead other weird letters are shown. However special characters appear in the file and folder names.

Script I am using on the nas:

Code: Select all

 export JAVA_OPTS="-Xmx1150m"
 export LANG="de_DE.utf8"
 export LC_ALL="de_DE.utf8"
    /var/packages/filebot/target/filebot.sh -script 'fn:amc' --action move -non-strict /volume1/downloads/jd --output /volume1/downloads/media --lang de --conflict auto --apply artwork nfo url metadata --def 'clean=y' 'skipExtract=y' 'excludeList=.excludes' 'music=n' 'subtitles=en,de'
Any thoughts? Adding

Code: Select all

export LANG="de_DE.utf8"
 export LC_ALL="de_DE.utf8"
did not make any difference...

Any thoughts? Tmdb website shows the correct characters.

I tried to post further details but alwas get an internal server error. So hope this information suffice.

Re: movie.nfo does not show special characters

Posted: 14 Oct 2020, 02:47
by rednoah
1.
NFO files are XML files. If you open the file with an XML viewer you will see the structure and display values.

:idea: If you open the file as raw text file with the correct character encoding (i.e. UTF-8) then you may see raw XML encoding. In this case, use a proper XML viewer (e.g. your browser) to view XML / NFO files.

:idea: If you open the file as raw text file with the wrong character encoding (e.g. Windows-1252) encoding then UTF-8 byte sequences will be decoded incorrectly and show stranger characters. In this case, use a proper text editor to view UTF-8 encoded plain text files.


2.
rednoah wrote: 31 Jul 2014, 16:40 Please do share scripts, logs, console output, etc via pastebin since our WAF may otherwise misclassify your code as a potential code injection attack and reject your post with an Internal Server Error response.

Re: movie.nfo does not show special characters

Posted: 14 Oct 2020, 08:22
by csatuser
It works, thanks! I opened it in the browser. Notepad++ works too by renaming it to *.xml.