Bug 324386

Summary: Command line file encoding specification using -e argument only applies to the file name following the argument
Product: [Applications] kate Reporter: Gunter Ohrner <mails.bugs.kde.org-2025-1>
Component: encodingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 3.11.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gunter Ohrner 2013-09-02 10:17:12 UTC
My system runs in the Latin9 locale (ISO 8859-15) and I often work with UTF-8-encoded files I open using

  kate -e utf-8 file1.txt file2.html file3.php

Up to KDE 4.10 this did work but in KDE 4.11, only the first file is opened with UTF-8-encoding.

Reproducible: Always

Steps to Reproduce:
1. open a Konsole and invoke Kate on several files using the -e argument to specifiy an encoding different from your system's default encoding: kate -e utf-8 file1.txt file2.html file3.php

Actual Results:  
Only the first file is opened using the specified encoding.

Expected Results:  
All files are opened using the specified encoding.
Comment 1 Christoph Cullmann 2016-05-29 17:25:57 UTC
I tried that with Kate master (KF5 based).

IMHO this is fixed there.