You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
client log has binary \0 as every second character #652
Qt internally used utf16, we write a lot of log files....
You can either use a modern text editor that supports boms or pipe the output to a terminal, in which case it'l be utf8 encoded.
Strange: /tmp/OpenCloud Beta-crash.log is in plain UTF8 without a bom.
Strange: when starting, the desktop client explicitly talks about choosing utf8:
$ env LC_ALL=C LANG=C opencloud
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
Nevermind. Workaround:
iconv -f UTF-16 -t UTF-8 < /tmp/oc-client.log | less
Activity
TheOneRing commentedon Nov 6, 2025
The log file is utf16 encoded. with a bom
jnweiger commentedon Nov 6, 2025
Yes it is UTF16, but why?
I'd prefer UTF8.
TheOneRing commentedon Nov 6, 2025
Qt internally used utf16, we write a lot of log files....
You can either use a modern text editor that supports boms or pipe the output to a terminal, in which case it'l be utf8 encoded.
--logfile -jnweiger commentedon Nov 6, 2025
Strange: /tmp/OpenCloud Beta-crash.log is in plain UTF8 without a bom.
Strange: when starting, the desktop client explicitly talks about choosing utf8:
$ env LC_ALL=C LANG=C opencloud
Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8.
Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead.
Nevermind. Workaround:
iconv -f UTF-16 -t UTF-8 < /tmp/oc-client.log | lessguruz commentedon Jun 15, 2026
Can we switch this to utf8? It's annoying to have to use other tools (rg instead of grep) etc.