Skip to content

Commit

Permalink
Few more characters
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas-done committed Feb 15, 2024
1 parent 5b23cad commit 3152cd6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Code/Converters/SccConverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@ private static function replaceNotSupportedCharactersByScc($string)
{
$replacements = [
// https://www.uspto.gov/custom-page/characters-conversion-table
'' => 'euro', // euro sign
'' => ',', // low left rising single quote
'ƒ' => 'f', // small italic f, function of,florin
'' => ',,', // low left rising double quote
Expand Down Expand Up @@ -572,6 +571,11 @@ private static function replaceNotSupportedCharactersByScc($string)
// more custom letters
'æ' => 'ae',
'Æ' => 'AE',
'' => 'EUR',
'' => 'INR',
'' => 'RUB',
'' => 'PHP',
'' => 'BTC'
];
$string = strtr($string, $replacements);

Expand Down

0 comments on commit 3152cd6

Please sign in to comment.