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
Displayed errors from internally run tty's have broken encoding #16892
When app performs some operations in a terminal and encounters an error, the error message encoding can be broken, if the process inside the terminal used non-utf encoding.
F.e. upon performing a "commit", git hook can be invoked that throws an error, encoded in either win-1251 or cp-866 (cyrillic), but the display dialog assumes the text is in utf.
Additional context.
The error displayed is the same as in this issue #11015 , just for cyrillic locale.
In essence: commit > commit hook > commit script contains shebang line #!/bin/bash > bash resolves to C:\Windows\System32\bash.exe which errors with win-1251/cp-866-encoded message > error message displayed in a broken encoding (assumed utf-8)
Should be the same result if commit hook errors and prints in a non-utf encoding.
Activity
ankhzet commentedon Jun 15, 2023
Additional context.
The error displayed is the same as in this issue #11015 , just for cyrillic locale.
In essence: commit > commit hook > commit script contains shebang line
#!/bin/bash>bashresolves toC:\Windows\System32\bash.exewhich errors with win-1251/cp-866-encoded message > error message displayed in a broken encoding (assumed utf-8)Should be the same result if commit hook errors and prints in a non-utf encoding.
Add app state, dispatcher and repository foldout
feat: app state, dispatcher, git engine foundation, repository foldout
Add app state, dispatcher and repository foldout
Add app state, dispatcher and repository foldout
feat: app state, dispatcher, git engine foundation, repository foldout