-
Notifications
You must be signed in to change notification settings - Fork 414
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
Copy and paste Chinese into Java String becomes garbled #3181
Comments
更新vscode1.80.0就好了 |
I'm just as confused. It looks like it gets replaced by Unicode when I put Chinese characters in "Java String". I'm not sure if this is due to Red Hat's "Language Support for Java(TM) by Red Hat". BTW. my vscode version is "Version: 1.81.1 (Universal) |
You can disable vscode-java's paste feature with
|
It's working. Thanks very much. |
@wufeiwua What's your OS system locale? And what encoding is used in Java file? |
My OS is "macOS Ventura 13.5.1", and the file encoding is "UTF-8". But the bug can also be reproduced on Windows OS. |
I tried in the following environment, copy & paste Chinese characters works for me. Could you confirm these environment info? thanks.
|
@Faputa thanks for the info. In your original issue, you're using VS Code@1.79.2. Did you try the latest VS Code version (e.g. 1.81)? |
Yes, I am using the 1.81.1 version of vscode and it still does this. |
Reproduced. If the cursor is not inside "" (e.g. |
Type: Bug
Like this.
Extension version: 1.20.0
VS Code version: Code 1.79.2 (695af097c7bd098fbf017ce3ac85e09bbc5dda06, 2023-06-14T08:57:04.379Z)
OS version: Windows_NT x64 10.0.19045
Modes:
System Info
canvas_oop_rasterization: disabled_off
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: