Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file gets converted to utf8 when staging block and commitng #10275

Open
imre84 opened this issue Sep 16, 2024 · 0 comments
Open

file gets converted to utf8 when staging block and commitng #10275

imre84 opened this issue Sep 16, 2024 · 0 comments
Assignees
Labels
ssh Issue in vscode-remote SSH

Comments

@imre84
Copy link

imre84 commented Sep 16, 2024

Type: Bug

Steps to Reproduce:

  1. have a remote repo over ssh with git
  2. have a file inside with the encoding iso88592
  3. modify this file
  4. click source control, click this file, click stage block
  5. commit
  6. verify that your file was converted from iso88592 to utf8

actual behaviour:

your file was converted from iso88592 to utf8 in the source tree (check git diff)

desired behaviour:

your file should have remained iso88592

Extension version: 0.114.3
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Windows_NT x64 10.0.22631
Modes:
Remote OS version: Linux x64 3.10.0-693.el7.x86_64

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.85GB (24.21GB free)
Process Argv --crash-reporter-id 9f3a94e7-ea8f-4b30-ac79-e97332041963
Screen Reader no
VM 0%
Item Value
Remote SSH: hostname
OS Linux x64 3.10.0-693.el7.x86_64
CPUs Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz (4 x 0)
Memory (System) 31.26GB (8.24GB free)
VM 100%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaac:30438847
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
da93g388:31013173
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
nativerepl1:31134654
refactort:31108082
pythonrstrctxt:31112756
flightc:31134773
wkspc-onlycs-t:31132770
nativeloc2:31134642
wkspc-ranged-t:31125599
ei213698:31121563
iacca1:31138162

@vs-code-engineering vs-code-engineering bot added the ssh Issue in vscode-remote SSH label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ssh Issue in vscode-remote SSH
Projects
None yet
Development

No branches or pull requests

2 participants