aviaryan / Ahk-Best-Practices

[WIP] AutoHotkey Best Practices
32 stars 5 forks source link

Add a recommendation of saving scripts as UTF-8 with BOM #4

Open akaleeroy opened 5 years ago

akaleeroy commented 5 years ago

Add a recommendation of saving scripts with UTF-8 with BOM character encoding

Example

::test::ȘșȚț✓

Bad

A_IsUnicode :ok_hand:
Script saved with UTF-8 encoding :x:

; Text expansion of Unicode characters garbled
ȘșȚț✓

Good

A_IsUnicode :ok_hand:
Script saved with UTF-8 with BOM encoding :ok_hand:

; Text expansion of Unicode characters correct
ȘșȚț✓