Page 1 of 1

Language Help Please!

Posted: 03 Oct 2016, 00:10
by mbc0
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

Re: Language Help Please!

Posted: 03 Oct 2016, 04:32
by rednoah
This is shell script code:

Code: Select all

export LANG=en_US.utf8
The LANG environment variable will need to be set before filebot is called.


This is FileBot format code:

Code: Select all

{n} ({y})/{n} ({y})
It's used for generating filenames and has absolutely nothing to do with setting the filesystem encoding.


Image

Re: Language Help Please!

Posted: 03 Oct 2016, 08:49
by mbc0
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!

Posted: 03 Oct 2016, 14:38
by rednoah
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