Bug 412798

Summary: Feature Request Enlarge text encoding/decoding capability to include BD mpls files
Product: [Applications] kate Reporter: Scott <shagooserver>
Component: encodingAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: wishlist CC: waqar.17a
Priority: NOR    
Version First Reported In: 19.04.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: mpls example file

Description Scott 2019-10-10 01:34:28 UTC
Created attachment 123116 [details]
mpls example file

Enable Kate to read the .mpls files on a Blu-ray disk.

Currently attempting to open this type of file with Kate returns the following message:
The file /MOVIE/BDMV/PLAYLIST/00800.mpls was opened with UTF-8 encoding but contained invalid characters.
It is set to read-only mode, as saving might destroy its content.
Either reopen the file with the correct encoding chosen or enable the read-write mode again in the tools menu to be able to edit it.

Selecting any of the available encodings from the tools menu does not fix the problem.

A file encoding query returns:
file -bi 00800.mpls application/octet-stream; charset=binary

The mpls files in a BD are used to allow the player to know what to play and in what order and are necessary to convert the movie into other formats, for example, mkv.

I have attached a sample file.
Comment 1 Waqar Ahmed 2023-03-28 22:41:49 UTC
We use QStringEncoder provided by Qt for encoding/decoding. Please report this to Qt instead.