encodinggitkraken

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?


Solution

  • 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