-
Notifications
You must be signed in to change notification settings - Fork 25
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
Setting "autoit.outputCodePage" seems to be not working at all 🤔 ?! #212
Comments
Working work-around Func _Print($sData)
Local Const $iUtf8Flag = 4
ConsoleWrite(BinaryToString(StringToBinary($sData & @LF, $iUtf8Flag)))
EndFunc
_Print('This is a test of german umlauts. Umlauts: ä ö ü ß. Emoji: 😀' & @CRLF) |
Just out of curiosity, does it show correctly in SciTE? |
Hi @vanowm , the german umlauts yes, but I cannot use emojis at all in SciTE. But I have to say, I didn't used SciTE since years - so maybe my bad in some lack of configuration 🤔 . Btw: The work-around |
AutoIt-VSCode/src/ai_commands.js Lines 670 to 686 in 1fc4578
As related lines above, a property named config.isCodePage was used, but which is not defined in package.json .#217 |
Actually, this is a regression from ad6c3eb where centralized config was introduced. |
Well, I didn't check commit history. |
Hi and thank you @Sunev 👋 . I tested your PR change #217 manually and it works. The setting What I changed manually to test:
Without the replacement, the codepage option does not work at all. My research confirmed you assumption about "isCodePage" does not have a definition. I hope the maintainer(s) will add this fix into the master branch, thanks 😀 . Best regards |
The only issue with this change is there is no check if |
I think that won't be a big problem, because those developers who set |
True, however vscode syncs settings between computers, therefore on one system it might be valid, on another might not (hypothetically speaking) |
What about to set the default of |
I recently found that VSCode lets you turn off sync for individual settings with a right-click. So, syncing might not be a big deal. |
Hi 👋 , first of all:
I really appreciate the VSCode extension and the work behind it, thanks folks 👍 .
Problem:
The VSCode "OUTPUT" does not show the correct characters for "simple" german umlauts.
Reproducer script:
Result:
Settings:
If I adjust the codepage by setting
autoit.outputCodePage
tocp850
,utf8
orwindows1252
nothing changes in the output.❓ The setting seems to be not working at all? Hint: The file encoding in my VSCode is set to
UTF-8
❓ Do you guys see any issues that I am doing or can you reproduce this behavior?
Thanks for your time and keep staying healthy 😇 .
Best regards
Sven
The text was updated successfully, but these errors were encountered: