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

UTF-8 and Nordic characters #20

Open
Pyrree opened this issue Nov 12, 2021 · 3 comments
Open

UTF-8 and Nordic characters #20

Pyrree opened this issue Nov 12, 2021 · 3 comments

Comments

@Pyrree
Copy link

Pyrree commented Nov 12, 2021

Hello!
I am not sure that this is a Neutron issue or AHK issue, however I am trying to use ÅÄÖ in my program, I have tried UTF-8 and CP 865 (Nordic characters) without any luck, I don't know what I should change.

On this button it should say Återställ
image

@ArgtimZ
Copy link

ArgtimZ commented Nov 12, 2021

ä = ä
Try this out: Aterställ

@G33kDude
Copy link
Owner

G33kDude commented Nov 12, 2021

Make sure you use UTF-8 with BOM, if your editor offers that option. If it does not, use UTF-16.

The AHK 1.1 branch typically assumes UTF-8 without BOM is ANSI, which is confusing given that most editors make "without BOM" the default encoding.

UTF-16 always has a BOM, which allows AHK to detect it correctly automatically.

@Pyrree
Copy link
Author

Pyrree commented Nov 16, 2021

My current settings are there

My AHK file
image

Neutron
image

HTML file (there is only UTF-8 and not UTF-8-BOM to choose from)
image

EDIT: I opened the HTML file with notepad++ and saved it as UTF8-BOM and it works! :D
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants