unrar: filename with German special characters

Get help, report and discuss bugs.
hugbug
Developer & Admin
Posts: 7553
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: unrar: filename with German special characters

Post by hugbug » 12 Oct 2019, 12:24

Unrar shipped with nzbget is compiled by me from official unrar source code. Because this source code doesn't come with good documentation about how to compile it properly for each system, it is well possible that I have used wrong compiler settings affecting unicode compatibility. Moreover it's compiled using a certain cross-compiling toolchain and results may be not 100% compatible with your system.

You can try compiling current version of unrar specifically for your system using compiler provided by system vendor.

Another possibility is to ask the NAS vendor to update their unrar.

rolmei
Posts: 51
Joined: 13 Apr 2013, 15:52

Re: unrar: filename with German special characters

Post by rolmei » 30 Aug 2020, 08:42

Any new ideas that works?

forenuser
Posts: 3
Joined: 28 Oct 2020, 15:55

Re: unrar: filename with German special characters

Post by forenuser » 28 Oct 2020, 16:10

I am using the wrapper script from al3x. It is working with unrar 6.0.1.

Code: Select all

#!/bin/sh
export LANG=en_US.UTF-8
unrar "$@"
exit $?
Last edited by forenuser on 30 Oct 2020, 11:19, edited 2 times in total.

al3x
Posts: 28
Joined: 24 Aug 2017, 17:13

Re: unrar: filename with German special characters

Post by al3x » 28 Oct 2020, 19:01

Please keep in mind that my wrapper script is not working unfortunately. Please have a look at my later comment from 06 Oct 2019, 14:34. It's actually using a different version of unrar, that's why it is working.

forenuser
Posts: 3
Joined: 28 Oct 2020, 15:55

Re: unrar: filename with German special characters

Post by forenuser » 28 Oct 2020, 19:20

I saw your comment. Nevertheless your wrapper is working in my environment (Fritz!Box with freetz-ng). If the wrapper doesn't work in your environment en_US.UTF-8 might not be available on your system. In this case you should find out which locales are available.

forenuser
Posts: 3
Joined: 28 Oct 2020, 15:55

Re: unrar: filename with German special characters

Post by forenuser » 18 Nov 2020, 17:32

I had also problems with german special characters also on two other systems:
  • Wd Mycloud
  • NAS542
I was able to solve the problem with the following steps:
  • Install Entware
  • Install Entware Busybox, MC and unrar
Moreover I checked that the following lines are in /opt/etc/profile:

Code: Select all

export LANG='en_US.UTF-8'
export LC_ALL='en_US.UTF-8'

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests