Under what circumstances does one specifically want to
- use locale mode?
- ignore locale?
Code: Select all
MsgBox "ä"="Ä"
StringCaseSense "Locale"
MsgBox "ä"="Ä"
Code: Select all
test := {}
test.Ä := "Hello1"
test.ä := "Hello2"
Msgbox test.Ä . "`n" . test.ä
StringCaseSense "Locale"
test := {}
test.Ä := "Hello1"
test.ä := "Hello2"
Msgbox test.Ä . "`n" . test.ä
Maybe perfectly normal to some, but might be quite exotic for others. Consider,nnnik wrote:If you leave out the StringCaseSense, Locale Ä is not case-insensitive equivalent to ä even though they are perfectly normal letters.
Therefore, I think this makes sense,In Western European languages, the letter 'i' (U+0069) upper cases to a dotless 'I' (U+0049). In Turkish, this letter upper cases to a dotted upper case letter 'İ' (U+0130). Similarly, 'I' (U+0049) lower cases to 'ı' (U+0131), which is a dotless lowercase letter i. src.
StringCaseSense wrote:Off or 0 (false): The letters A-Z are considered identical to their lowercase counterparts.
Return to “AutoHotkey Development”
Users browsing this forum: No registered users and 59 guests