Packfiles with WinRar and swedish national character

When I use the action “Packfiles with WinRar” with wildcards . and the directory contains files using swedish character ö this file is not added to the rar-file even though all other files are added.

Version: 6.3.0.1506

Hi Jonas,

It looks like this may be a limitation with the WinRAR command line utiltiy in that it doesn’t support adding files to an archive which contain non-English characters.

Regards,
Paul.

Here is the answer from Rarlabs:

Hello,

Sorry, Unicode is not supported in the command line yet.
Now RAR and WinRAR correctly support non-English characters in the command line only if such characters are correctly mapped into the current ANSI codepage.

You can pass Unicode names of files to archive or to unpack in file lists if you use -scul switch:

rar a -scul arcname @filelist.txt

where filelist.txt is a plain text Unicode file containing file names, one name per line.

Eugene / RAR development

HI Jonas,

Thanks for the information, I’ve added the command line switch to the action and will have a new build available soon. In the mean time you can get things working by specifying -scal in the ‘Extra Command Line’ field.

Regards,
Paul.

Hi Jonas,

Here’s the updated build of FinalBuilder which includes the -scal argument when creating WinRAR archives, as the option was only introduced in WinRAR 3.7+ you’ll need to go into the options and enable the ‘Using WinRAR 3.7 or greater’ (Tools -> Options -> Archivers -> WinRAR).

URL: https://www.finalbuilder.com/downloads/finalbuilder/630/FB630_1555.exe

Regards,
Paul.

Works beautifully Paul, thank you!