Incorrect special characters after unpacking

Get help, report and discuss bugs.
FCrane
Posts: 21
Joined: 19 Oct 2013, 08:04

Incorrect special characters after unpacking

Post by FCrane » 19 Oct 2013, 08:09

Hi!

I'm testing NZBGet and I think it's great! One small but annoying bug I've discovered is this: when I edit the name of a download and use German special characters like in "Ein Mann für gewisse Stunden", NZBGet shows it correctly. But after unraring the directory it creates is "Ein Mann für gewisse Stunden". So "ü" becomes "ü". This happens to all these "Umlaute". It's just a minor bug, but still annoying and it would be nice if it could be fixed.

Thanks!

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Incorrect special characters after unpacking

Post by hugbug » 19 Oct 2013, 19:38

That must be a system specific problem.
What device, OS, etc.?

FCrane
Posts: 21
Joined: 19 Oct 2013, 08:04

Re: Incorrect special characters after unpacking

Post by FCrane » 20 Oct 2013, 07:33

Sorry, forgot to mention: "Windows 8 x64 Pro English" on a regular PC.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Incorrect special characters after unpacking

Post by hugbug » 23 Oct 2013, 09:39

Confirming the problem on Windows. I'll see what I can do.

prinz2311
Posts: 466
Joined: 08 Dec 2012, 00:03

Re: Incorrect special characters after unpacking

Post by prinz2311 » 23 Oct 2013, 09:43

Is that related that unrar (and the rar 4 format itself) up to version 4 is not unicode compatible?

Only the new unrar 5 (and rar 5 format) adds unicode compatiblity. (With it own problems on systems that don't have full locale support).

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Incorrect special characters after unpacking

Post by hugbug » 23 Oct 2013, 09:49

It's not unrar related. The directory is created by NZBGet. When nzb-name is manually changed in webui the new name is transferred from webui to nzbget in UTF8 encoding. This name is then used to create directory but windows doesn't handle UTF8 in filenames.

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Incorrect special characters after unpacking

Post by hugbug » 23 Oct 2013, 19:25

Should work better in r892.

FCrane
Posts: 21
Joined: 19 Oct 2013, 08:04

Re: Incorrect special characters after unpacking

Post by FCrane » 24 Oct 2013, 14:02

Thanks! Where can I download r892?

I just found out, that if the nzb file contains special characters, NZBGet fails to process them! Here's the log (read bottom to top):

******************
error Thu Oct 24 2013 15:56:25 Could not add collection Erste Hilfe für Obst Krankheiten und Schädlinge wirksam bekämpfen.nzb to queue
error Thu Oct 24 2013 15:56:25 Error parsing nzb-file: The system cannot find the path specified.
info Thu Oct 24 2013 15:56:25 Collection Erste Hilfe für Obst Krankheiten und Schädlinge wirksam bekämpfen.nzb found
******************

When I remove the special characters "ä" from the file name, it works fine.

Regards!

FCrane
Posts: 21
Joined: 19 Oct 2013, 08:04

Re: Incorrect special characters after unpacking

Post by FCrane » 24 Oct 2013, 14:07

Also, it has problems with cleaning up after extracting:

********************
error Thu Oct 24 2013 16:04:34 Could not delete file T:\NZBget\intermediate\Erste Hilfe\Erste Hilfe fr Obst Krankheiten und Sch„dlinge wirksam bek„mpfen.part1.rar
info Thu Oct 24 2013 16:04:34 Deleting file Erste Hilfe fr Obst Krankheiten und Sch„dlinge wirksam bek„mpfen.part1.rar
********************

Basically, all file operations containing special characters seem to fail.

Regards!

hugbug
Developer & Admin
Posts: 7645
Joined: 09 Sep 2008, 11:58
Location: Germany

Re: Incorrect special characters after unpacking

Post by hugbug » 24 Oct 2013, 14:21

FCrane wrote:error Thu Oct 24 2013 15:56:25 Could not add collection Erste Hilfe für Obst Krankheiten und Schädlinge wirksam bekämpfen.nzb to queue
error Thu Oct 24 2013 15:56:25 Error parsing nzb-file: The system cannot find the path specified.
That's a different problem. I'll look into it.
FCrane wrote: error Thu Oct 24 2013 16:04:34 Could not delete file T:\NZBget\intermediate\Erste Hilfe\Erste Hilfe fr Obst Krankheiten und Sch„dlinge wirksam bek„mpfen.part1.rar
info Thu Oct 24 2013 16:04:34 Deleting file Erste Hilfe fr Obst Krankheiten und Sch„dlinge wirksam bek„mpfen.part1.rar
This is fixed in r892.
FCrane wrote:Where can I download r892?
Wait for the next testing release. You can subscribe to forum Announcements to receive an e-mail notification.

Post Reply

Who is online

Users browsing this forum: No registered users and 38 guests