Skip to content

Commit

Permalink
add Northern Atlantic accented chars as requested in #35
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.code.sf.net/p/migrid/code/trunk@6016 b75ad72c-e7d7-11dd-a971-7dbc132099af
  • Loading branch information
jonasbardino committed May 13, 2024
1 parent 8ffdd90 commit c7d5528
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mig/shared/safeinput.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,10 @@
# http://practicaltypography.com/common-accented-characters.html
# ./getglyphs.py http://practicaltypography.com/common-accented-characters.html
# found glyphs: áÁàÀâÂäÄãÃåÅæÆçÇéÉèÈêÊëËíÍìÌîÎïÏñÑóÓòÒôÔöÖõÕøØœŒßúÚùÙûÛüÜ
# Explicitly add a few common Northern Atlantic chars as requested in issue 35.

VALID_ACCENTED = \
'áÁàÀâÂäÄãÃåÅæÆçÇéÉèÈêÊëËíÍìÌîÎïÏñÑóÓòÒôÔöÖõÕøØœŒßúÚùÙûÛüÜ' + 'ıİ'
'áÁàÀâÂäÄãÃåÅæÆçÇéÉèÈêÊëËíÍìÌîÎïÏñÑóÓòÒôÔöÖõÕøØœŒßúÚùÙûÛüÜ' + 'ıİ' + 'ÐðÝýÞþ'

# NOTE: we carefully avoid shell interpretation of dollar everywhere

Expand Down Expand Up @@ -2279,7 +2280,7 @@ def __str__(self):
for test_path in ('test.txt', 'Test Æøå', 'Test Überh4x0r',
'Test valid Jean-Luc Géraud', 'Test valid Źacãŕ',
'Test valid special%&()!$¶â€', 'Test look-alike-å å',
'Test exotic لرحيم',
'Test north Atlantic Barður Ðýþ', 'Test exotic لرحيم',
'Test Invalid ?', 'Test Invalid `',
'Test invalid <', 'Test Invalid >',
'Test Invalid *', 'Test Invalid "'):
Expand Down

0 comments on commit c7d5528

Please sign in to comment.