Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitKraken file encoding

I use Visual Studio to develop my code. My files are encoded in UTF-8 with BOM.
As VS doesn't allow to stage hunk a files, I use GitKraken to do so.
But when I stage a hunk a file with GitKraken, the encoding of the file change from UTF-8 with BOM to Western European (Windows).
How to avoid GitKraken to change my file encoding?

like image 803
Nicolas Avatar asked Apr 10 '26 23:04

Nicolas


1 Answers

Try to change the value in Setting -> Repo-Specific Preferences -> Encoding -> Default encoding for each repository to UTF-8 BOM. It helped me at least with the auto-solving of merge conflicts

like image 197
dbking Avatar answered Apr 13 '26 11:04

dbking



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!