Describe the bug
Using windows emojis in documents tracked by git cause rendering issues.
To Reproduce
- Open a git directory
- Create or edit a file and add windows emojis (
win + .) to it.
- Open lazygit and observe rendered window frames especially in the
Unstaged Changes preview
Expected behavior
Should be rendered as usual.
Screenshots

Version info:
Run lazygit --version and paste the result here
$ lazygit --version
commit=5149b24ab3dfad3860e2300519c7c583dcc8c9ff, build date=2023-05-03T08:00:22Z, build source=binaryRelease, version=0.38.2, os=windows, arch=amd64, git version=2.40.1.windows.1
Run git --version and paste the result here
$ git --version
git version 2.40.1.windows.1
PowerShell and Win Version
$ $PSVersionTable
Name Value
---- -----
PSVersion 7.3.4
PSEdition Core
GitCommitId 7.3.4
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Windows Terminal Version

Describe the bug
Using windows emojis in documents tracked by git cause rendering issues.
To Reproduce
win + .) to it.Unstaged ChangespreviewExpected behavior
Should be rendered as usual.
Screenshots

Version info:
Run
lazygit --versionand paste the result hereRun
git --versionand paste the result herePowerShell and Win Version
Windows Terminal Version
