Skip to content

Bad system encoding: ANSI_X3.4-1968 when I try to rename in Spanish (Does anyone know how to change the plugin to utf-8?) #61

@diegomtnz

Description

@diegomtnz

When I try to rename in Spanish, I get this error, but if I rename in English, it works fine.

How can I change the encoding system?

I use deluge 2.2.0 and filebottools 2.0.5
OS: Linux (amd64)
HW: Linux deluge-linuxmint 6.8.0-60-generic #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 19:04:15 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

FilebotRuntimeError error on torrent a0a773612a09696ed62036d9cef07c684255dabd:
FILEBOT OUTPUT DUMP:
Bad system encoding: ANSI_X3.4-1968
* Please configure your locale with LANG=C.UTF-8 or LANG=en_US.UTF-8
Rename movies using [TheMovieDB]

`Bad system encoding: ANSI_X3.4-1968

  • Please configure your locale with LANG=C.UTF-8 or LANG=en_US.UTF-8
    FileBot 5.1.7 (r10514)
    JNA Native: 7.0.0
    MediaInfo: 24.01
    Tools: fpcalc/1.5.1 7z/23.01 unrar/7.00 mkvpropedit/92.0
    Extended Attributes: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/diego/.filebot/tmp/sysinfo.167929/Dr?g???Ph?n?x?.txt
    Unicode Filesystem: java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /home/diego/.filebot/tmp/sysinfo.167929/Dr?g???Ph?n?x?.txt
    WARNING: sun.jnu.encoding = ANSI_X3.4-1968
    GVFS: PlatformGVFS [/run/user/1000/gvfs]
    Script Bundle: 2025-03-06 (r1003)
    Groovy: 4.0.21
    JRE: OpenJDK Runtime Environment 21.0.7
    JVM: OpenJDK 64-Bit Server VM
    CPU/MEM: 24 Core / 4.2 GB Max Memory / 41 MB Used Memory
    OS: Linux (amd64)
    HW: Linux deluge-linuxmint 6.8.0-60-generic #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 19:04:15 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
    CPU/MEM: : Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz / MemTotal: 16 GB / MemFree: 393 MB / MemAvailable: 11 GB / SwapCached: 25 MB / SwapTotal: 2.1 GB / SwapFree: 28 MB

DATA: /home/diego/.filebot
Package: DEB
License: FileBot License P65947739 (Valid-Until: 2025-10-20)
Done ?(?????)?
Bad system encoding: ANSI_X3.4-1968

  • Please configure your locale with LANG=C.UTF-8 or LANG=en_US.UTF-8

Local Time

Mon May 19 10:46:33 CEST 2025

Process Tree

/usr/bin/python3.12
?? /usr/bin/dash
?? /usr/lib/jvm/java-21-openjdk-amd64/bin/java

Environment Variables

CINNAMON_VERSION: 6.4.8
DBUS_SESSION_BUS_ADDRESS: unix:path=/run/user/1000/bus
DESKTOP_SESSION: cinnamon
DISPLAY: :0
GDMSESSION: cinnamon
GDM_LANG: es_ES
GIO_LAUNCHED_DESKTOP_FILE: /usr/share/applications/deluge.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID: 143187
GJS_DEBUG_OUTPUT: stderr
GJS_DEBUG_TOPICS: JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID: this-is-deprecated
GNOME_KEYRING_CONTROL: /run/user/1000/keyring
GPG_AGENT_INFO: /run/user/1000/gnupg/S.gpg-agent:0:1
GTK3_MODULES: xapp-gtk3-module
GTK_MODULES: gail:atk-bridge
HOME: /home/diego
LANG: es
LANGUAGE: es
LC_CTYPE: C.UTF-8
LOGNAME: diego
PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD: /home/diego/.config/deluge
PYGAME_HIDE_SUPPORT_PROMPT: 1
QT_ACCESSIBILITY: 1
SESSION_MANAGER: local/deluge-linuxmint:@/tmp/.ICE-unix/1440,unix/deluge-linuxmint:/tmp/.ICE-unix/1440
SHELL: /bin/bash
SHLVL: 0
SSH_AUTH_SOCK: /run/user/1000/keyring/ssh
USER: diego
XAUTHORITY: /home/diego/.Xauthority
XDG_ACTIVATION_TOKEN: cinnamon/Deluge/2100-56-deluge-linuxmint_TIME46341255
XDG_CONFIG_DIRS: /etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP: X-Cinnamon
XDG_DATA_DIRS: /usr/share/cinnamon:/usr/share/gnome:/home/diego/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
XDG_GREETER_DATA_DIR: /var/lib/lightdm-data/diego
XDG_RUNTIME_DIR: /run/user/1000
XDG_SEAT: seat0
XDG_SEAT_PATH: /org/freedesktop/DisplayManager/Seat0
XDG_SESSION_CLASS: user
XDG_SESSION_DESKTOP: cinnamon
XDG_SESSION_ID: c1
XDG_SESSION_PATH: /org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE: x11
XDG_VTNR: 7

Java System Properties

application.cache: /home/diego/.filebot/cache
application.deployment: deb
application.dir: /home/diego/.filebot
awt.useSystemAAFontSettings: on
file.encoding: UTF-8
file.separator: /
grape.root: /home/diego/.filebot/grape
http.agent: FileBot/5.1.7
java.class.path: /usr/share/filebot/jar/filebot.jar
java.class.version: 65.0
java.home: /usr/lib/jvm/java-21-openjdk-amd64
java.io.tmpdir: /tmp
java.library.path: /usr/lib/x86_64-linux-gnu/jni
java.net.useSystemProxies: false
java.runtime.name: OpenJDK Runtime Environment
java.runtime.version: 21.0.7+6-Ubuntu-0ubuntu124.04
java.specification.name: Java Platform API Specification
java.specification.vendor: Oracle Corporation
java.specification.version: 21
java.vendor: Ubuntu
java.vendor.url: https://ubuntu.com/
java.vendor.url.bug: https://bugs.launchpad.net/ubuntu/+source/openjdk-21
java.version: 21.0.7
java.version.date: 2025-04-15
java.vm.compressedOopsMode: Zero based
java.vm.info: mixed mode, sharing
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.specification.name: Java Virtual Machine Specification
java.vm.specification.vendor: Oracle Corporation
java.vm.specification.version: 21
java.vm.vendor: Ubuntu
java.vm.version: 21.0.7+6-Ubuntu-0ubuntu124.04
jdk.debug: release
jdk.logger.packages: net.filebot.Logging
jdk.module.path: /usr/share/openjfx/lib
jna.boot.library.name: jnidispatch.system
jna.boot.library.path: /usr/lib/x86_64-linux-gnu/jni
jna.library.path: /usr/lib/x86_64-linux-gnu/jni
jna.noclasspath: true
jna.nosys: false
jna.nounpack: true
line.separator:

native.encoding: ANSI_X3.4-1968
net.filebot.archive.extractor: ShellExecutables
net.filebot.gio.GVFS: /run/user/1000/gvfs
org.apache.commons.logging.Log: org.apache.commons.logging.impl.NoOpLog
os.arch: amd64
os.name: Linux
os.version: 6.8.0-60-generic
path.separator: :
prism.order: sw
stderr.encoding: ANSI_X3.4-1968
stdout.encoding: ANSI_X3.4-1968
sun.arch.data.model: 64
sun.boot.library.path: /usr/lib/jvm/java-21-openjdk-amd64/lib
sun.cpu.endian: little
sun.io.unicode.encoding: UnicodeLittle
sun.java.command: /usr/share/filebot/jar/filebot.jar -script fn:sysenv
sun.java.launcher: SUN_STANDARD
sun.jnu.encoding: ANSI_X3.4-1968
sun.management.compiler: HotSpot 64-Bit Tiered Compilers
sun.net.client.defaultConnectTimeout: 10000
sun.net.client.defaultReadTimeout: 60000
unixfs: false
useCreationDate: false
useExtendedFileAttributes: true
useGVFS: true
user.country: US
user.dir: /home/diego/.config/deluge
user.home: /home/diego
user.language: en
user.name: diego
user.timezone: Europe/Madrid

Arguments

args[0] = -script
args[1] = fn:sysenv
Done ?(?????)?
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions