Bug 375575

Summary: No UTF-8 Option In Char Encoding Selections
Product: [Applications] okteta Reporter: alan
Component: generalAssignee: Friedrich W. H. Kossebau <kossebau>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description alan 2017-01-26 09:01:59 UTC
The list of char encodings do not include UTF-8.
Comment 1 Friedrich W. H. Kossebau 2017-01-26 15:03:14 UTC
Thanks for the request. Currently only plain 8-bit char encodings are supported in the bytearray view/editor, so UTF-8 is not an option (same with other UTF variants). There is some support in the tools Decoding table and Structures though.

Furthermore, with char encodings with varying byte-width, like UTF-8, we still need some good ideas how to support editing in the char edit mode. Proposals welcome.

Thus tagging as wish/feature request.
Comment 2 alan 2017-01-26 15:16:31 UTC
Thanks for the feedback and I can see how it is considerably more tricky than the fixed 8-bit encodings. However it would be very useful.

It might be hard, but in the editor you currently highlight the characters and the corresponding single bytes so perhaps you could just extend this approach so that however many corresponding bytes are highlighted.
Comment 3 Christoph Feck 2017-01-26 18:22:59 UTC

*** This bug has been marked as a duplicate of bug 170925 ***