I use quickfixj with wildfly Java EE server. I'd like to have fix logs to be merged with application log. But there is the "^A" delimiter. Is there a way to set encoding to UTF for quickfixj engine? I'll appreciate any help.
How to change quickfixj charset encoding for logs?
1k views Asked by iku At
3
There are 3 answers
0
On
The "^A" character is actually the ASCII SOH (0x01) character, which is what FIX uses as the field separator. It's just what FIX uses. It's in the FIX spec.
(Not sure why you think it's a Windows charset character. It's not.)
It would be trivial to create a small script (perhaps with sed
) to do a find-and-replace if you really want to replace the SOH characters with something else.
It doesn't sound like UTF encoding. The "^A" character is SOH, the delimiter between FIX tag=value fields. If you'd like to see a different character you can modify the QFJ logging component to convert the SOH characters to something different (like a "|") before writing the data to the log.