From eb349010172e1ccb0889f9643b1f8180ad27ac14 Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Thu, 26 May 2016 21:09:50 -0700 Subject: [PATCH] LaTeX does support these characters. --- scripts/t-shirt-label-print.plx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/t-shirt-label-print.plx b/scripts/t-shirt-label-print.plx index 1172ecc..ffc407d 100644 --- a/scripts/t-shirt-label-print.plx +++ b/scripts/t-shirt-label-print.plx @@ -99,6 +99,8 @@ foreach my $id (sort { sortFunction($a, $b); } @supporterIds) { $postalAddress = $postalAddresses[0]; } my $latexPostal = latex_encode($postalAddress); + $latexPostal =~ s/\\unmatched\{0141\}/\L{}/g; + $latexPostal =~ s/\\unmatched\{0142\}/\l{}/g; if ($latexPostal =~ /unmatched/) { print "Skipping $id request for $sizeNeeded because the address has characters the post office will not accept\n Address was: ", encode('UTF-8', $postalAddress), "\n and became\n$latexPostal\n" if $VERBOSE; next;