Switch -SC<charset>[objects] - specify the character set
This switch allows to specify the character set for list files and archive comment files.
'Charset' parameter is mandatory and can have one of the
following values:
U | Unicode |
A | ANSI (Windows) encoding |
O | OEM (DOS) encoding |
Files in Unicode format must have FFFE or FEFF Unicode character in the beginning, otherwise WinRAR will ignore this switch and process the file as ASCII text.
'Objects' parameter is optional and can have one of the
following values:
L | List files |
C | Comment files |
It is allowed to specify more than one object, for example, -scolc. If 'objects' parameter is missing, 'charset' is applied to all objects.
This switch allows to specify the character set for files in -z<file> switch, list files and comment files written by cw command.
WinRAR a a -scol data @list
WinRAR c -scuc -zcomment.txt data
WinRAR cw -scuc data comment.txt