Skip to content

Commit

Permalink
SCC reader: Use quotation mark instead of 2 backticks
Browse files Browse the repository at this point in the history
#397

Co-authored-by: Humbert <hardy.h@nfb.ca>
  • Loading branch information
humberthardy and Humbert authored Aug 22, 2023
1 parent e160515 commit 09e557a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/python/ttconv/scc/codes/standard_characters.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
SCC_STANDARD_CHARACTERS_MAPPING = dict([
(0x20, " "), # Standard space
(0x21, "!"), # Exclamation mark
(0x22, "``"), # Quotation mark
(0x22, "\""), # Quotation mark
(0x23, "#"), # Pounds (number) sign
(0x24, "$"), # Dollar sign
(0x25, "%"), # Percentage sign
Expand Down
2 changes: 1 addition & 1 deletion src/test/python/test_scc_standard_characters.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SccStandardCharactersTest(unittest.TestCase):
def test_scc_standard_character_values(self):
self.assertEqual(SCC_STANDARD_CHARACTERS_MAPPING[0x20], " ")
self.assertEqual(SCC_STANDARD_CHARACTERS_MAPPING[0x21], "!")
self.assertEqual(SCC_STANDARD_CHARACTERS_MAPPING[0x22], "``")
self.assertEqual(SCC_STANDARD_CHARACTERS_MAPPING[0x22], '"')
self.assertEqual(SCC_STANDARD_CHARACTERS_MAPPING[0x23], "#")
self.assertEqual(SCC_STANDARD_CHARACTERS_MAPPING[0x24], "$")
self.assertEqual(SCC_STANDARD_CHARACTERS_MAPPING[0x25], "%")
Expand Down

0 comments on commit 09e557a

Please sign in to comment.