Hi,
I am running filebot GUI on my Linux VPS and have no root access to change language settings but am having a problem renaming files that have special characters in them, for example I am trying to rename the series Pokemon but Filebot tries to rename them to Pokémon which results in a malformed input or input contains unmappable characters error.
I have tried adding the LANG=en_US.utf8 command to the end of my line in formats like this
/home/hd34/mbc0/media/Movies/{n} ({y})/{n} ({y}){$LANG=en_US.utf8}
but get a BindingException "en_US":not defined error
Any help would be greatly appreciated!
Many Thanks
Language Help Please!
Re: Language Help Please!
This is shell script code:
The LANG environment variable will need to be set before filebot is called.
This is FileBot format code:
It's used for generating filenames and has absolutely nothing to do with setting the filesystem encoding.

Code: Select all
export LANG=en_US.utf8
This is FileBot format code:
Code: Select all
{n} ({y})/{n} ({y})

Re: Language Help Please!
To try and earn a TRIPLE Facepalm how do I set the LANG environment before filebot is called? I have searched and searched but am too much of a noob to be able to get my head around it?
Re: Language Help Please!
I don't know. Depends on what Linux you're using, what Desktop Environment you're using, etc. Setting it for your login shell is easy by adding the export to your ~/.profile but I'm not sure if your Desktop Environment cares about that.
EDIT:
I checked Google:
Gnome:
https://help.ubuntu.com/community/Envir ... nvironment
KDE:
https://userbase.kde.org/Session_Enviro ... riables/en
EDIT:
I checked Google:
Gnome:
https://help.ubuntu.com/community/Envir ... nvironment
KDE:
https://userbase.kde.org/Session_Enviro ... riables/en