Skip to content

Commit

Permalink
Merge pull request #791 from UltraStar-Deluxe/add_typographers_apostr…
Browse files Browse the repository at this point in the history
…ophe_to_punctuation_chars

Add the typographer’s apostrophe (U+2019) to the set of punctuation characters
  • Loading branch information
barbeque-squared committed Dec 23, 2023
2 parents e7ae737 + 5f342e4 commit 474b5b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/base/UUnicodeUtils.pas
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ function IsPunctuationChar(ch: WideChar): boolean;
begin
// TODO: add chars > 255 (or replace with libxml2 functions?)
case ch of
' '..'/',':'..'@','['..'`','{'..'~',
' '..'/',':'..'@','['..'`','{'..'~',widechar($2019),
#160..#191,#215,#247:
Result := true;
else
Expand Down

0 comments on commit 474b5b3

Please sign in to comment.