klogg icon indicating copy to clipboard operation
klogg copied to clipboard

Show invisible char(control char) in

Open jiadong opened this issue 3 years ago • 3 comments

I am developer working with FIX protocol, which uses SOH (0x01) to seperate fields. It is very difficult to read a FIX log without showing invisible char. Please show invisible char or control char. Or give an option for it.

Thanks. klogg klogg visual studio code Visual studio code visual studio Visual studio notepad++ notepad++

jiadong avatar Apr 20 '22 10:04 jiadong

Hi, which font a and klogg version are you using? With my fix logs and DejaVu Sans Mono it looks like this: image

With JetBrains Mono image

variar avatar Apr 20 '22 11:04 variar

Thanks for your kindly reply.

I tried "DejaVu Sans Mono", "Consolas" and "Cascadia Code" fonts and get the some result. There is no sign for SOH. My klogg version is "22.03.0.1208".

I also tried to change my setting "Language for non Unicode programs" from "Chinese (Simplified, China)" to "English (United States)", nothing changed.

I tried several encodings: "windows-1252", "UTF-8", "GB2312", nothing changed. (The file is pure ASCII.)

It seems something related with system setting.

jiadong avatar Apr 21 '22 01:04 jiadong

If it works in Notepad++ and VSCode, then it still could be something wrong in klogg. Anyway, I think it is a good idea to have something like a replace characters map, that allows to configure how klogg displays some control characters.

variar avatar Apr 21 '22 06:04 variar