variar / klogg

Really fast log explorer based on glogg project
https://klogg.filimonov.dev
GNU General Public License v3.0
2.37k stars 208 forks source link

Show invisible char(control char) in #467

Open jiadong opened 2 years ago

jiadong commented 2 years ago

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++

variar commented 2 years ago

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

jiadong commented 2 years ago

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.

variar commented 2 years ago

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.