Bug 328295

Summary: Add 7bit US-ASCII to the list of possible encodings
Product: [Applications] okteta Reporter: Kevin Funk <kfunk>
Component: generalAssignee: Friedrich W. H. Kossebau <kossebau>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.13.0 (SC 4.13.0)

Description Kevin Funk 2013-12-01 17:43:21 UTC
Others want multi-byte support -- I'm going one step backwards.

In order to debug an issue where I needed to know if a certain file contained non-7bit ASCII codes, I fired up okteta and checked for invalid chars.

It would have been nice to have '7bit US-ASCII' in the list of encodings in the combo box at the bottom, which then marks all codes > 0x7f as red.

Reproducible: Always
Comment 1 Friedrich W. H. Kossebau 2014-01-26 03:51:52 UTC
Git commit 8977f3fc7d61f9cc3906c79afe5bbaaa0b266280 by Friedrich W. H. Kossebau.
Committed on 26/01/2014 at 03:49.
Pushed by kossebau into branch 'master'.

Add support for US-ASCII char encoding

FIXED-IN: 0.13.0 (SC 4.13.0)

M  +1    -0    core/CMakeLists.txt
M  +4    -0    core/codecs/charcodec.cpp
A  +71   -0    core/codecs/usasciicharcodec.cpp     [License: LGPL]
A  +57   -0    core/codecs/usasciicharcodec.h     [License: LGPL]

http://commits.kde.org/okteta/8977f3fc7d61f9cc3906c79afe5bbaaa0b266280
Comment 2 Kevin Funk 2014-01-26 12:42:26 UTC
Thanks a lot, Friedrich!