Bug 324386 - Command line file encoding specification using -e argument only applies to the file name following the argument
Summary: Command line file encoding specification using -e argument only applies to th...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: encoding (other bugs)
Version First Reported In: 3.11.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-02 10:17 UTC by Gunter Ohrner
Modified: 2016-05-29 17:25 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.