Skip to content

Commit

Permalink
Merge pull request #3 from sumup/euro-sign-cp852
Browse files Browse the repository at this point in the history
Adds Euro sign (0x20ac) to cp852 instead of Not sign
  • Loading branch information
implicitly-awesome authored May 6, 2024
2 parents 1e28e56 + 8c1201f commit c61890f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mappings/MICSFT/PC/CP852.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Table format: Format A
# Date: 04/24/96
# Contact: [email protected]
#
#
# General notes: none
#
# Format: Three tab-separated columns
Expand Down Expand Up @@ -185,7 +185,7 @@
0xa7 0x017e #LATIN SMALL LETTER Z WITH CARON
0xa8 0x0118 #LATIN CAPITAL LETTER E WITH OGONEK
0xa9 0x0119 #LATIN SMALL LETTER E WITH OGONEK
0xaa 0x00ac #NOT SIGN
0xaa 0x20ac #EURO SIGN
0xab 0x017a #LATIN SMALL LETTER Z WITH ACUTE
0xac 0x010c #LATIN CAPITAL LETTER C WITH CARON
0xad 0x015f #LATIN SMALL LETTER S WITH CEDILLA
Expand Down
4 changes: 2 additions & 2 deletions src/cp852.erl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ to_unicode(16#a6) -> 16#017d;
to_unicode(16#a7) -> 16#017e;
to_unicode(16#a8) -> 16#0118;
to_unicode(16#a9) -> 16#0119;
to_unicode(16#aa) -> 16#00ac;
to_unicode(16#aa) -> 16#20ac;
to_unicode(16#ab) -> 16#017a;
to_unicode(16#ac) -> 16#010c;
to_unicode(16#ad) -> 16#015f;
Expand Down Expand Up @@ -179,7 +179,7 @@ from_unicode(16#017d) -> 16#a6;
from_unicode(16#017e) -> 16#a7;
from_unicode(16#0118) -> 16#a8;
from_unicode(16#0119) -> 16#a9;
from_unicode(16#00ac) -> 16#aa;
from_unicode(16#20ac) -> 16#aa;
from_unicode(16#017a) -> 16#ab;
from_unicode(16#010c) -> 16#ac;
from_unicode(16#015f) -> 16#ad;
Expand Down

0 comments on commit c61890f

Please sign in to comment.