Single quote character turns into a mess
Posted: 21 May 2014, 19:41
First of, thanks for the great renamer. This is the third OS platform I'm using this awesome tool on.
Okay well here's the problem, when it tried to get the name of an episode with a single quote in it the name what came out was not entirely ideal.
Title in DB: He’s Bla-ack
Name that came out: Family Guy - S12E20 - He�M-^@M-^Ys Bla-ack.mkv
As you can see the ' character got turned into �M-^@M-^Y and I have no idea why
PS I can have files with single quotes in the name without problems
Command Output
Sysinfo
Okay well here's the problem, when it tried to get the name of an episode with a single quote in it the name what came out was not entirely ideal.
Title in DB: He’s Bla-ack
Name that came out: Family Guy - S12E20 - He�M-^@M-^Ys Bla-ack.mkv
As you can see the ' character got turned into �M-^@M-^Y and I have no idea why
PS I can have files with single quotes in the name without problems
Code: Select all
$ touch "te'st.file" && ls -l
total 92
...other files in directory
-rw-rw-r-- 1 root Write-Config 0 May 21 21:37 te'st.file
Sysinfo
Code: Select all
./filebot.sh -script fn:sysinfo
FileBot 4.0 (r2056)
JNA Native: 4.0.0
MediaInfo: MediaInfoLib - v0.7.52
7-Zip-JBinding: net.sf.sevenzipjbinding.SevenZipNativeInitializationException: Failed to load 7z-JBinding: /mnt/config/filebot/lib7-Zip-JBinding.so: /lib/libc.so.7: version GLIBC_2.4 required by /mnt/config/filebot/lib7-Zip-JBinding.so not found
chromaprint-tools: fpcalc version 1.1.0 (fpcalc)
Extended Attributes: DISABLED
Groovy Engine: 2.2.0
OpenJDK Runtime Environment 1.6.0_32 (headless)
64-bit OpenJDK 64-Bit Server VM
FreeBSD (amd64)
FreeBSD torrent 9.2-RELEASE-p4 FreeBSD 9.2-RELEASE-p4 #0 r262572+17a4d3d: Wed Apr 23 10:09:38 PDT 2014 [email protected]:/tank/home/jkh/build/9.2.1/freenas/os-base/amd64/fusion/jkh/9.2.1/freenas/FreeBSD/src/sys/FREENAS.amd64 amd64
Done ヾ(@⌒ー⌒@)ノ